Getting Precompiled Headers To Share
Getting Precompiled Headers To Share
- Subject: Getting Precompiled Headers To Share
- From: Mark Coniglio <email@hidden>
- Date: Thu, 30 Oct 2008 12:19:03 +0100
Hi List,
My mom always taught me to "play nice" and share;
I wish I could get XCode's precompiled headers to
do the same. ;-)
I have 120 plugins sharing the same .pch file --
which actually just includes the Carbon
framework. Yet, they are all producing individual
precompiled header files, taking up gigabytes of
disk space.
Here's two example hash files:
------
Contents of
/Volumes/MAMBOXP/sandbox/IsadoraPlugins/Lookup/../_IzzyPluginCommon/IsadoraPlugin_Prefix.pch
4.0.1 (Apple Inc. build 5488)
-x
c++
-arch
i386
-fmessage-length=0
-pipe
-fpascal-strings
-fasm-blocks
-Os
-DNDEBUG=1
-isysroot
/Developer/SDKs/MacOSX10.4u.sdk
-fvisibility-inlines-hidden
-mmacosx-version-min=10.4
-F/Volumes/MAMBOXP/sandbox/IsadoraPlugins/Lookup/build/Release
-I/Volumes/MAMBOXP/sandbox/IsadoraPlugins/Lookup/build/Release/include
-I../../Isadora/Isadora SDK/Headers
-I../../Isadora/Isadora SDK/Private
------
Contents of
/Volumes/MAMBOXP/sandbox/IsadoraPlugins/Desaturation/../_IzzyPluginCommon/IsadoraPlugin_Prefix.pch
4.0.1 (Apple Inc. build 5488)
-x
c++
-arch
i386
-fmessage-length=0
-pipe
-fpascal-strings
-fasm-blocks
-Os
-DNDEBUG=1
-isysroot
/Developer/SDKs/MacOSX10.4u.sdk
-fvisibility-inlines-hidden
-mmacosx-version-min=10.4
-F/Volumes/MAMBOXP/sandbox/IsadoraPlugins/Desaturation/build/Release
-I/Volumes/MAMBOXP/sandbox/IsadoraPlugins/Desaturation/build/Release/include
-I../../Isadora/Isadora SDK/Headers
-I../../Isadora/Isadora SDK/Private
------
When I diff these files... these two lines are different:
-F/Volumes/MAMBOXP/sandbox/IsadoraPlugins/Desaturation/build/Release
-I/Volumes/MAMBOXP/sandbox/IsadoraPlugins/Desaturation/build/Release/include
-F/Volumes/MAMBOXP/sandbox/IsadoraPlugins/Lookup/build/Release
-I/Volumes/MAMBOXP/sandbox/IsadoraPlugins/Lookup/build/Release/include
Now, the thing is -F is a Framework include
option, and -I is an include directory option (as
I understand it.) But I'm not specifying these
two paths anywhere in the settings, as far as I
can tell. These two include paths
-I../../Isadora/Isadora SDK/Headers
-I../../Isadora/Isadora SDK/Private
are specified explicitly by me, but they are the same for both.
I don't know why I'd end up with a -F option for
the folder in which the built plugin resides
(.../build/Release). And for the -I option, there
is no "include" folder at
...build/Release/include -- again, the folder
with the built plugin.
Maybe somebody out there _does_ know; I'm all ears.
Best Wishes,
Mark
--
=======================================================================
Mark Coniglio | email@hidden
TroikaTronix | http://www.troikatronix.com/
Isadora® | http://www.troikatronix.com/isadora.html
| (interactive media processing environment)
=======================================================================
_______________________________________________
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