summaryrefslogtreecommitdiff
path: root/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2019-10-07 20:27:57 -0400
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-11-27 21:12:55 +0100
commit8efbcb1e80d58fa39501a883968229270c4e4bec (patch)
treecde49dad66069ac861ad45f6c23751a435f7d8aa /test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp
parentf73a1dff0eaa631f9b674ebbafe43376b9675d9d (diff)
downloadmeson-8efbcb1e80d58fa39501a883968229270c4e4bec.tar.gz
cmake: Add unit test for add_custom_target() and add_dependency()
Also test commands with args separated by ';'
Diffstat (limited to 'test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp')
-rw-r--r--test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp b/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp
index 0fb6aa724..b7e8200d7 100644
--- a/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp
+++ b/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp
@@ -1,6 +1,11 @@
#include "cmMod.hpp"
#include "genTest.hpp"
#include "cpyBase.hpp"
+#include "cmModLib.hpp"
+
+#ifndef FOO
+#error FOO not declared
+#endif
using namespace std;