summaryrefslogtreecommitdiffstats
path: root/Tests/BuildDepends
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-22 01:19:23 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-22 01:19:23 (GMT)
commitd4e0727e4d3e17cf2877f7411b10fce1325c620a (patch)
tree1a78ac2a02201e1866fce99b541bfb1bb7d873ac /Tests/BuildDepends
parente23348c5a6c021a199e25664e5e901bf33ff4c3b (diff)
downloadCMake-d4e0727e4d3e17cf2877f7411b10fce1325c620a.zip
CMake-d4e0727e4d3e17cf2877f7411b10fce1325c620a.tar.gz
CMake-d4e0727e4d3e17cf2877f7411b10fce1325c620a.tar.bz2
BUG: Enable CMAKE_SUPPRESS_REGENERATION because the entire test runs during the inital configuration.
Diffstat (limited to 'Tests/BuildDepends')
-rw-r--r--Tests/BuildDepends/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/BuildDepends/CMakeLists.txt b/Tests/BuildDepends/CMakeLists.txt
index 90b6b92..a56e944 100644
--- a/Tests/BuildDepends/CMakeLists.txt
+++ b/Tests/BuildDepends/CMakeLists.txt
@@ -6,6 +6,11 @@
# and source files for the test project.
project(BuildDepends)
+# This entire test takes place during the initial
+# configure step. It should not run again when the
+# project is built.
+set(CMAKE_SUPPRESS_REGENERATION 1)
+
file(MAKE_DIRECTORY ${BuildDepends_BINARY_DIR}/Project)
message("Creating Project/foo.cxx")
write_file(${BuildDepends_BINARY_DIR}/Project/foo.cxx