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....


-Bill

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to