diff options
author | Brad King <brad.king@kitware.com> | 2013-01-10 15:22:46 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-01-10 15:22:46 (GMT) |
commit | 325e92fa22cb20a3d4bccbf1f663c28b34f8b04c (patch) | |
tree | e58332a81382395c002af3e0f64d3bed14046246 /Tests/CMakeCommands/target_compile_definitions/main.cpp | |
parent | feb9ffb6815b4367634a1543f42f50ae2f3c4c98 (diff) | |
parent | fc61a7a746c3c899d42ccff3014686365c36ee11 (diff) | |
download | CMake-325e92fa22cb20a3d4bccbf1f663c28b34f8b04c.zip CMake-325e92fa22cb20a3d4bccbf1f663c28b34f8b04c.tar.gz CMake-325e92fa22cb20a3d4bccbf1f663c28b34f8b04c.tar.bz2 |
Merge topic 'target-includes-defines-commands'
fc61a7a Add the target_compile_definitions command.
8a37ebe Add the target_include_directories command.
Diffstat (limited to 'Tests/CMakeCommands/target_compile_definitions/main.cpp')
-rw-r--r-- | Tests/CMakeCommands/target_compile_definitions/main.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_compile_definitions/main.cpp b/Tests/CMakeCommands/target_compile_definitions/main.cpp new file mode 100644 index 0000000..addb33c --- /dev/null +++ b/Tests/CMakeCommands/target_compile_definitions/main.cpp @@ -0,0 +1,14 @@ + +#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 + +int main() { return 0; } |