summaryrefslogtreecommitdiffstats
path: root/Tests/CustomCommand/foo.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-29 14:13:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-01-29 14:13:53 (GMT)
commitabec4213d61cb74aba5da6f83220b38ef7882209 (patch)
treedeb91704649b5bfe0fcc2eac8ff12f2382578dea /Tests/CustomCommand/foo.in
parent5968ad58fd85e9703c36cd9154137f24c55e5413 (diff)
parent9259d7788193ad23aa429652af983afc3bc4a953 (diff)
downloadCMake-abec4213d61cb74aba5da6f83220b38ef7882209.zip
CMake-abec4213d61cb74aba5da6f83220b38ef7882209.tar.gz
CMake-abec4213d61cb74aba5da6f83220b38ef7882209.tar.bz2
Merge topic 'fix-OBJECT_DEPENDS-after-path-normalization'
9259d778 Normalize OBJECT_DEPENDS paths to match custom commands (#15366)
Diffstat (limited to 'Tests/CustomCommand/foo.in')
-rw-r--r--Tests/CustomCommand/foo.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CustomCommand/foo.in b/Tests/CustomCommand/foo.in
index e43aed1..15d2d2c 100644
--- a/Tests/CustomCommand/foo.in
+++ b/Tests/CustomCommand/foo.in
@@ -6,6 +6,11 @@
int generated();
int wrapped();
+#include "subdir/subdir.h"
+#ifndef SUBDIR_DEF
+# error SUBDIR_DEF not defined
+#endif
+
int main ()
{
if (generated()*wrapped()*doc() == 3*5*7)