I've patched in support for the .pch extension for precompiled
headers as used by Xcode. I believe I've also corrected a typo for
OBJCC precompiled headers, which was missing a dot in the file
extension.
<gnustep-make-2.2.0.patch>
This is working nicely for me. I can use .pch extension or a .h
extension; it will do both. For now I'll stick to .h until this
patch finds its way into the main project.
e: address@hidden
t (en): http://twitter.com/d11wtq
t (it): http://twitter.com/cosadici
Il giorno 24/apr/2010, alle ore 10.11, Chris Corbyn ha scritto:
Hi,
I'm trying to make sure my Xcode project builds in both Xcode and
GNUStep. It contains a .pch file containing common includes, which
is required to be prefixed to every file compiled during the build.
When I add it to the XXX_OBJC_PRECOMPILED_HEADERS as so:
Cioccolata_OBJC_PRECOMPILED_HEADERS = Cioccolata_Prefix.pch
The build immediately fails with:
Making build-headers for framework Cioccolata...
Making all for framework Cioccolata...
make[1]: *** No rule to make target `/Users/chris/Projects/Mac/
Cioccolata/build/GNUStep/obj/PrecompiledHeaders/ObjC/
Cioccolata_Prefix.pch', needed by `internal-precompile-headers'.
Stop.
make: *** [Cioccolata.all.framework.variables] Error 2
Does GNUStep-make handle files with the .pch extension as given by
Xcode? What do I need to do to make this work?
While my project is still in it's early stages and therefore small
I manually copied the contents of the .pch to my .m files and can
build the project this way so the only thing I'm stuck on is how to
use the .pch.
Thanks all,
Chris
e: address@hidden
t (en): http://twitter.com/d11wtq
t (it): http://twitter.com/cosadici
_______________________________________________
Gnustep-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnustep-dev