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_D
Hi Ingolf,
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")
to override the compile definitions for the current directory and its
subdirectories.
Hope this
Hi,
is it possible to override CMAKE_C_FLAGS on a per-directory basis? I
have attempted to solve this by setting CMAKE_C_FLAGS to a different
value than the default used in the project, but this modification is
not reflected in the command line for compilation within the
directory. Example
"globa