-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bill Hoffman wrote: > Philip Lowman wrote: >> -----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. >> > I can not reproduce the bug you have given... It sounds like something > else is going on in your cmakelist file. I don't think the if statement > or set_source_files_properties is that broken....
I apologize, I experienced this bug at work the other day and my memory must be going because I sent in the wrong case to reproduce it. =) 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 iD8DBQFGBJ0Ee0tOktX6RKkRAptIAJoDU1u2Kiw47MeDafc4gK1KJM1mzQCcCZnz BvAKby0j3U2x8zvOtRl7kS8= =zMnx -----END PGP SIGNATURE----- _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake