summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/BuildDepends/C-Exe.step2.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-16 14:09:07 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-17 14:21:09 (GMT)
commit73a058f85680a044aeeecd815f8d6cc34fd29f3d (patch)
tree5dd8aebf5d61ae6c5c68a970ab081e4d91b1e23d /Tests/RunCMake/BuildDepends/C-Exe.step2.cmake
parent438fabf242bae84dde71d51298b43c2b6fa760eb (diff)
downloadCMake-73a058f85680a044aeeecd815f8d6cc34fd29f3d.zip
CMake-73a058f85680a044aeeecd815f8d6cc34fd29f3d.tar.gz
CMake-73a058f85680a044aeeecd815f8d6cc34fd29f3d.tar.bz2
Tests: Add RunCMake.BuildDepends test
This will allow more granular checks than the main BuildDepends test. Start with a simple single-source C program.
Diffstat (limited to 'Tests/RunCMake/BuildDepends/C-Exe.step2.cmake')
-rw-r--r--Tests/RunCMake/BuildDepends/C-Exe.step2.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/BuildDepends/C-Exe.step2.cmake b/Tests/RunCMake/BuildDepends/C-Exe.step2.cmake
new file mode 100644
index 0000000..ee4530c
--- /dev/null
+++ b/Tests/RunCMake/BuildDepends/C-Exe.step2.cmake
@@ -0,0 +1,3 @@
+file(WRITE "${RunCMake_TEST_BINARY_DIR}/main.c" [[
+int main(void) { return 2; }
+]])