summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/target_include_directories/consumer.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-12-02 17:06:43 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-12-02 17:06:43 (GMT)
commit9d51c764f73175664cc18acab755e6a11233656e (patch)
tree7541f4b0f3c09a3dd3848fec21e4320db56f26b7 /Tests/CMakeCommands/target_include_directories/consumer.cpp
parent9c56366250b2abbe769ddc256a8c8c1c2c9deb6b (diff)
parent5838aba1aae5c341941c0779cd947ed0172e3a61 (diff)
downloadCMake-9d51c764f73175664cc18acab755e6a11233656e.zip
CMake-9d51c764f73175664cc18acab755e6a11233656e.tar.gz
CMake-9d51c764f73175664cc18acab755e6a11233656e.tar.bz2
Merge topic 'export-includes'
5838aba Export: Report error on relative include with genex. 7a3e45b Export: Prefix relative items with genexes in INSTALL_INTERFACE. f088a32 Export: Process INSTALL_INTERFACE in INCLUDES DESTINATION. 9eedc85 Export: Process relative includes after genex evaluation. 80790f3 Export: Test existing behavior of exporting includes with genexes. 38afc82 target_include_directories: Allow relative path with genex
Diffstat (limited to 'Tests/CMakeCommands/target_include_directories/consumer.cpp')
-rw-r--r--Tests/CMakeCommands/target_include_directories/consumer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_include_directories/consumer.cpp b/Tests/CMakeCommands/target_include_directories/consumer.cpp
index 82b800a..7e3443e 100644
--- a/Tests/CMakeCommands/target_include_directories/consumer.cpp
+++ b/Tests/CMakeCommands/target_include_directories/consumer.cpp
@@ -3,6 +3,7 @@
#include "publicinclude.h"
#include "interfaceinclude.h"
#include "relative_dir.h"
+#include "consumer.h"
#ifdef PRIVATEINCLUDE_DEFINE
#error Unexpected PRIVATEINCLUDE_DEFINE
@@ -24,4 +25,8 @@
#error Expected RELATIVE_DIR_DEFINE
#endif
+#ifndef CONSUMER_DEFINE
+#error Expected CONSUMER_DEFINE
+#endif
+
int main() { return 0; }