-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brandon J. Van Every wrote: > I have put ADD_DEFINITIONS(-DCMAKE_BUILD) in CMakeLists.txt and > statements such as #if !defined(CMAKE_BUILD) in my .h files. Is there a > canonical definition for this? I didn't see any canonical flag being > passed to the C compiler, so I'm guessing there isn't one, but I have a > vague memory of reading about such a thing in the archives. Couldn't > find any reference to it though.
I don't know if I understand you but you can see which flags are passed to the compiler either with make VERBOSE=1 or through the file flags.make in your build tree. > Cheers, > Brandon Van Every - -- Filipe Sousa -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEq4tebQdNYqwwwCwRAvTDAJ974Al8NVJPMkn7z9ntIsXN69d+qwCdEpJ/ b6rSCy6A82H3tTU3cilAdxk= =WKRD -----END PGP SIGNATURE----- _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake