Re: Build menu Compile and preprocess items are disabled.
Re: Build menu Compile and preprocess items are disabled.
- Subject: Re: Build menu Compile and preprocess items are disabled.
- From: Chris Espinosa <email@hidden>
- Date: Wed, 23 Jun 2004 08:51:43 -0700
On Jun 23, 2004, at 8:35 AM, George Warner wrote:
So I wish to preprocess the header file to see what is happening, yet
in the Build menu neither the Compile nor Preprocess items are
enabled.
Even if I open the files in a separate window. In fact this is true
for
any .cpp or .h file in this project opened in a separate window.
Again, it's probably the internal path references being absolute. But
it may
be that the target isn't native. If it's not then you may need to
"Upgrade
to Native Target" (in the "Project" menu).
The other common cause for this is that the file in question doesn't
belong to the current target. Command-click the header in the Groups
and FIles pane and pick "Target Membership", and it'll show you check
boxes for the files that are members of the current target. Either
change the target or check the box on the .cpp file.
By the way, .h files can't be Compiled or Preprocessed on their own.
Try compiling or preprocessing a .c or .ccp file that #includes them.
Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.