Hello
I recently noticed that I am using add_definitions() for general compiler
flags (that have been checked previously with check_cxx_compiler_flag()) not
just "-D" flags. I also know this works not only when compiling with gcc
based compilers (including mingw on Windows) but also with cl.exe and Visual
Studio. Should the add_definitions() documentation be more complete or I am
doing something unportable?
There is also the alternative of using set_target_properties(...
COMPILE_FLAGS) to set general compile flags but I need something to set for
al targets inherited from some point and not repeat this command for every
target.
Thanks!
--
Mihai RUSU Email: [EMAIL PROTECTED]
"Linux is obsolete" -- AST
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake