-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Werner Smekal wrote: > I would say the third and correct option is to use > SET_SOURCE_FILES_PROPERTIES together with the COMPILE_FLAGS property.
I agree. There is one minor bug with this command that I've filed below that people should be aware of. It will affect you if you're compiling the same source file twice. http://www.cmake.org/Bug/bug.php?op=show&bugid=4675&pos=0 - -- Philip Lowman Simulation Development Engineer, Modeling and Simulation Technology General Dynamics Land Systems http://www.gdls.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGBEg7e0tOktX6RKkRApcQAJ9UOSHmXYTCayZRd+HvGPyx14fdEQCdHVON uEtyWECdznFTGDnkxWElP0s= =8g+1 -----END PGP SIGNATURE----- _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake