CMake/Tests/CMakeCommands
Stephen Kelly a984f3257e Introduce add_compile_options command.
This command is similar to add_definitions, in that it affects
the compile options of all targets which follow it. The implementation
is similar to the implementation of the include_directories command,
in that it is based on populating a COMPILE_OPTIONS directory property
and using that to initialize the same property on targets.

Unlike the include_directories command however, the add_compile_options
command does not affect previously defined targets. That is, in
the following code, foo will not be compiled with -Wall, but bar
will be:

 add_library(foo ...)
 add_compile_options(-Wall)
 add_library(bar ...)
2013-06-04 11:36:55 +02:00
..
add_compile_options Introduce add_compile_options command. 2013-06-04 11:36:55 +02:00
target_compile_definitions Revert "Add the TARGET_DEFINED generator expression" 2013-02-25 15:35:11 +01:00
target_compile_options Add target_compile_options command. 2013-06-02 11:56:37 +02:00
target_include_directories Remove use of TARGET_DEFINED from target_include_directories test. 2013-02-25 15:25:38 +01:00
target_link_libraries Test that linking using the debug keyword to tll works. 2013-05-16 14:31:00 -04:00