summaryrefslogtreecommitdiffstats
path: root/Tests/BuildDepends/Project/ninjadep.cpp
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2013-07-23 18:53:00 (GMT)
committerBrad King <brad.king@kitware.com>2013-07-26 14:12:03 (GMT)
commit9275554496b32662d840cbe1e0b9c2a460835ac6 (patch)
tree8a22f9f1e1da7927a3399d898ca70ba5cd51a345 /Tests/BuildDepends/Project/ninjadep.cpp
parent6fa9d0ab4047c904a321772fe2184118b58d1a4f (diff)
downloadCMake-9275554496b32662d840cbe1e0b9c2a460835ac6.zip
CMake-9275554496b32662d840cbe1e0b9c2a460835ac6.tar.gz
CMake-9275554496b32662d840cbe1e0b9c2a460835ac6.tar.bz2
Ninja: Update BuildDepends test to verify cmcldeps depfiles.
Diffstat (limited to 'Tests/BuildDepends/Project/ninjadep.cpp')
-rw-r--r--Tests/BuildDepends/Project/ninjadep.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/BuildDepends/Project/ninjadep.cpp b/Tests/BuildDepends/Project/ninjadep.cpp
new file mode 100644
index 0000000..8d61336
--- /dev/null
+++ b/Tests/BuildDepends/Project/ninjadep.cpp
@@ -0,0 +1,6 @@
+#include <stdio.h>
+#include "dir/header.h"
+
+int main() {
+ printf("HEADER_STRING: %s\n", HEADER_STRING);
+}