Hi John,
that's easy:
set_target_properties(
executable
PROPERTIES
XCODE_ATTRIBUTE_GCC_PREFIX_HEADER path/stdwx.h
XCODE_ATTRIBUTE_GCC_PRECOMPILE_PREFIX_HEADER YES
)
stdwx.h must include all headers you want to have precompiled and must
also be included by the actual source file.
HTH,
Hi there
Is there a way to set up precompiled headers for Mac OS X (10.5 and
10.6) using CMake? I've seen some doco on how its done for Win32, but
none for the Mac system yet.
Any help appreciated.
Thanks,
--
John Clayton
___
Powered by