XCode include references (Was: #include "xxx.inc" problem)
XCode include references (Was: #include "xxx.inc" problem)
- Subject: XCode include references (Was: #include "xxx.inc" problem)
- From: Torsten Sadowski <email@hidden>
- Date: Wed, 15 Sep 2004 21:02:18 +0200 (CEST)
Hello,
looking at the detailed build messages of the CocoaGL example I found
something interesting. XCode doesn't use -I for includes. Apples gcc has
an -header-mapfile option pointing to a .hmap file (CocoaGL.hmap in this
case) where all recognized header files aree collected. The collection
seems to be done by file type (read suffix) maybe with a tool called jam,
maybe even before:
/Developer/Private/jam -d1 -j1
JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=-
build ACTION=build _DEFAULT_GCC_VERSION=3.3 BUILD_STYLE=Development
CPP_HEADERMAP_FILE=/Developer/Examples/OpenGL/Cocoa/CocoaGL/build/CocoaGL.build/CocoaGL.build/CocoaGL.hmap
SRCROOT=/Developer/Examples/OpenGL/Cocoa/CocoaGL
OBJROOT=/Developer/Examples/OpenGL/Cocoa/CocoaGL/build
SYMROOT=/Developer/Examples/OpenGL/Cocoa/CocoaGL/build
DSTROOT=/tmp/CocoaGL.dst
Is there any possibility to tell XCode that other files can be include
files as well? In my example the hmap file contains MyOpenGLView.h or
nothing, if the file is called MyOpenGLView even though its in the headers
section of the Target.
Torsten
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden