diff options
author | Brad King <brad.king@kitware.com> | 2013-06-03 13:57:44 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-06-03 13:57:44 (GMT) |
commit | e57b6a25211ea28b7b01aadfc3aaf1de79455bdb (patch) | |
tree | 3957355de7d91f18e663fc1ed13185bf31f35125 /Tests/CMakeCommands/target_compile_options/main.cpp | |
parent | bcc29c56a599baa3e2d8bd1d56e3727911a1c7d7 (diff) | |
parent | 24466f22c0c0e3235f0a21bd2a298c39df50e2f3 (diff) | |
download | CMake-e57b6a25211ea28b7b01aadfc3aaf1de79455bdb.zip CMake-e57b6a25211ea28b7b01aadfc3aaf1de79455bdb.tar.gz CMake-e57b6a25211ea28b7b01aadfc3aaf1de79455bdb.tar.bz2 |
Merge topic 'target-COMPILE_OPTIONS'
24466f2 Add target_compile_options command.
80ca9c4 Add COMPILE_OPTIONS target property.
7cb2308 cmTarget: Rename LinkInterfaceIncludeDirectoriesEntries
47f80d9 cmTarget: Rename struct to be more re-usable.
1319a14 Add <LANG>_COMPILER_ID generator expressions.
3549676 Add cmLocalGenerator::GetCompileOptions.
f3ad863 VS6: Rename some variables to correspond to config values.
Diffstat (limited to 'Tests/CMakeCommands/target_compile_options/main.cpp')
-rw-r--r-- | Tests/CMakeCommands/target_compile_options/main.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_compile_options/main.cpp b/Tests/CMakeCommands/target_compile_options/main.cpp new file mode 100644 index 0000000..961c06d --- /dev/null +++ b/Tests/CMakeCommands/target_compile_options/main.cpp @@ -0,0 +1,18 @@ + +#ifdef DO_GNU_TESTS + +# ifndef MY_PRIVATE_DEFINE +# error Expected MY_PRIVATE_DEFINE +# endif + +# ifndef MY_PUBLIC_DEFINE +# error Expected MY_PUBLIC_DEFINE +# endif + +# ifdef MY_INTERFACE_DEFINE +# error Unexpected MY_INTERFACE_DEFINE +# endif + +#endif + +int main() { return 0; } |