summaryrefslogtreecommitdiffstats
path: root/Tests/ConfigSources/iface.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-02 18:31:05 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-04 14:39:00 (GMT)
commit9c9e66289acc7f54dfdb518a92b625f5a34c7c2d (patch)
tree9d378288d391e394c059e8acd1e8a4a263b5bb93 /Tests/ConfigSources/iface.h
parent395e5f77fcd900b4a7a48eaa2da2e3554b694cf1 (diff)
downloadCMake-9c9e66289acc7f54dfdb518a92b625f5a34c7c2d.zip
CMake-9c9e66289acc7f54dfdb518a92b625f5a34c7c2d.tar.gz
CMake-9c9e66289acc7f54dfdb518a92b625f5a34c7c2d.tar.bz2
Tests: Enable ConfigSources test on every configuration
Revise the test itself to work in all configurations and verify that certain sources are only built by whatever configuration is tested.
Diffstat (limited to 'Tests/ConfigSources/iface.h')
-rw-r--r--Tests/ConfigSources/iface.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/ConfigSources/iface.h b/Tests/ConfigSources/iface.h
new file mode 100644
index 0000000..810456c
--- /dev/null
+++ b/Tests/ConfigSources/iface.h
@@ -0,0 +1,10 @@
+
+int iface_src();
+
+#ifdef CFG_DEBUG
+int iface_debug();
+#endif
+
+#ifdef CFG_OTHER
+int iface_other();
+#endif