How do I tell XCode to use C++ when procompiling a prefix header?
How do I tell XCode to use C++ when procompiling a prefix header?
- Subject: How do I tell XCode to use C++ when procompiling a prefix header?
- From: Jesper Papmehl <email@hidden>
- Date: Thu, 17 Jun 2004 18:01:24 +0200
I have created a project in XCode. In the target settings for one of
the targets (a loadable bundle), I have enterred a path to a prefix
file. The contents of that file is:
#include <string>
The target compiles as it should.
However, if I check "Precompile Prefix Header" in the target settings,
the target no longer compiles. I get a "string: No such file or
directory" message when XCode tries to precompile the prefix header.
(If I open the header file, select the text "string" and choose
File->Open Quickly, XCode finds and opens the string file in GCC 3.3
C++ folder.)
I have changed the file type of my prefix header to sourcecode.cpp.h
and I have tried settings C Dialocts to Precompile to c++, but it
doesn't make any difference.
Any ideas what I might try?
TIA
/Jesper Papmehl
_______________________________________________
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.