summaryrefslogtreecommitdiff
path: root/test cases/cmake/8 custom command/subprojects/cmMod/cpyInc.hpp.am
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-08-08 15:37:51 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2020-08-09 19:36:38 +0300
commita98db022aa4cc0798fba4bb2f723e5b0cc3b2570 (patch)
tree95c445f899f3dbed7f86b219a7fd97df7c3806cf /test cases/cmake/8 custom command/subprojects/cmMod/cpyInc.hpp.am
parent948741355f1d624f209e2b2d02740372fc9aa8c2 (diff)
downloadmeson-a98db022aa4cc0798fba4bb2f723e5b0cc3b2570.tar.gz
cmake: Detect custom command targets in compiler args
This is required to make `-include /path/to/custom/target.hpp` work. This setup is used by wxWidgets and this PR is required to use wxWidgets as a CMake subproject.
Diffstat (limited to 'test cases/cmake/8 custom command/subprojects/cmMod/cpyInc.hpp.am')
-rw-r--r--test cases/cmake/8 custom command/subprojects/cmMod/cpyInc.hpp.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/test cases/cmake/8 custom command/subprojects/cmMod/cpyInc.hpp.am b/test cases/cmake/8 custom command/subprojects/cmMod/cpyInc.hpp.am
new file mode 100644
index 000000000..07c8ff790
--- /dev/null
+++ b/test cases/cmake/8 custom command/subprojects/cmMod/cpyInc.hpp.am
@@ -0,0 +1,3 @@
+#pragma once
+
+#define CPY_INC_WAS_INCLUDED 1