From 8efbcb1e80d58fa39501a883968229270c4e4bec Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 7 Oct 2019 20:27:57 -0400 Subject: cmake: Add unit test for add_custom_target() and add_dependency() Also test commands with args separated by ';' --- test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp') 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; -- cgit v1.2.3