summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/NinjaMultiConfig/generatorlib.c
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-11-27 15:59:20 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-12-13 15:52:07 (GMT)
commite0478cc64623fbfcb7dcd748f27b94cc8473fa1a (patch)
treefa28877d7db948f5aee23a9dbe0bc042d562150b /Tests/RunCMake/NinjaMultiConfig/generatorlib.c
parent5a8a9f72293ab1b3fd768ff40e5fb1f07cdb7dd2 (diff)
downloadCMake-e0478cc64623fbfcb7dcd748f27b94cc8473fa1a.zip
CMake-e0478cc64623fbfcb7dcd748f27b94cc8473fa1a.tar.gz
CMake-e0478cc64623fbfcb7dcd748f27b94cc8473fa1a.tar.bz2
Tests: Add test for Multi-Configuration Ninja generator
Diffstat (limited to 'Tests/RunCMake/NinjaMultiConfig/generatorlib.c')
-rw-r--r--Tests/RunCMake/NinjaMultiConfig/generatorlib.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/Tests/RunCMake/NinjaMultiConfig/generatorlib.c b/Tests/RunCMake/NinjaMultiConfig/generatorlib.c
new file mode 100644
index 0000000..de5c8f3
--- /dev/null
+++ b/Tests/RunCMake/NinjaMultiConfig/generatorlib.c
@@ -0,0 +1,24 @@
+#include <genex_config.h>
+/* FIXME Get this working */
+/*#include <intdir_config.h>*/
+
+const char* generatorlib_genex_config_definition(void)
+{
+ return GENEX_CONFIG_DEFINITION;
+}
+
+const char* generatorlib_genex_config_include_dir(void)
+{
+ return GENEX_CONFIG_INCLUDE_DIR;
+}
+
+/* FIXME Get this working */
+/*const char* generatorlib_intdir_config_definition(void)
+{
+ return INTDIR_CONFIG_DEFINITION;
+}
+
+const char* generatorlib_intdir_config_include_dir(void)
+{
+ return INTDIR_CONFIG_INCLUDE_DIR;
+}*/