Hello,

Am Freitag, 8. Januar 2010 schrieb Marcel Loose:
> If you've set the flags "-foo -bar" using add_definitions(), instead of
> manipulating CMAKE_C_FLAGS directly, you can use
>
>   set_directory_properties(PROPERTIES COMPILE_DEFINITIONS "-baz")

Currently I manually set CMAKE_Fortran_FLAGS_DEBUG where DEBUG is set inside
CMAKE_BUILD_TYPE

Does this add_definitions()-technique keep track of the build type?

thx
C.M.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to