diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-01 22:20:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-10 14:46:57 (GMT) |
commit | 8a37ebec784cefe4f04cb8897c23a014c3930052 (patch) | |
tree | 6a1fff33c9447c3fbb87f2496baf57fa208f4dec /Tests/CMakeCommands/target_include_directories/main.cpp | |
parent | c2cde7f1047b2f11e7d4a466000a20d8c42394be (diff) | |
download | CMake-8a37ebec784cefe4f04cb8897c23a014c3930052.zip CMake-8a37ebec784cefe4f04cb8897c23a014c3930052.tar.gz CMake-8a37ebec784cefe4f04cb8897c23a014c3930052.tar.bz2 |
Add the target_include_directories command.
This is a convenience API to populate the corresponding properties.
Diffstat (limited to 'Tests/CMakeCommands/target_include_directories/main.cpp')
-rw-r--r-- | Tests/CMakeCommands/target_include_directories/main.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_include_directories/main.cpp b/Tests/CMakeCommands/target_include_directories/main.cpp new file mode 100644 index 0000000..8434b97 --- /dev/null +++ b/Tests/CMakeCommands/target_include_directories/main.cpp @@ -0,0 +1,22 @@ + +#include "common.h" +#include "privateinclude.h" +#include "publicinclude.h" + +#ifndef PRIVATEINCLUDE_DEFINE +#error Expected PRIVATEINCLUDE_DEFINE +#endif + +#ifndef PUBLICINCLUDE_DEFINE +#error Expected PUBLICINCLUDE_DEFINE +#endif + +#ifdef INTERFACEINCLUDE_DEFINE +#error Unexpected INTERFACEINCLUDE_DEFINE +#endif + +#ifndef CURE_DEFINE +#error Expected CURE_DEFINE +#endif + +int main() { return 0; } |