summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-01-21 20:30:37 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-01-21 20:30:37 (GMT)
commit0660ea09c5654b53008b12455c213dfc142c3330 (patch)
treea3926d90c58dcbdeae8887a341373e4b7995d1b5 /Tests/ComplexOneConfig
parent0bee6e523f6f09afc3222d6768b8e20c4003d4d9 (diff)
downloadCMake-0660ea09c5654b53008b12455c213dfc142c3330.zip
CMake-0660ea09c5654b53008b12455c213dfc142c3330.tar.gz
CMake-0660ea09c5654b53008b12455c213dfc142c3330.tar.bz2
Add warnings/infos
Diffstat (limited to 'Tests/ComplexOneConfig')
-rw-r--r--Tests/ComplexOneConfig/Executable/complex.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx
index a5bba20..b0b7b6c 100644
--- a/Tests/ComplexOneConfig/Executable/complex.cxx
+++ b/Tests/ComplexOneConfig/Executable/complex.cxx
@@ -485,12 +485,20 @@ int main()
// ----------------------------------------------------------------------
// A post-build custom-command has been attached to the lib (see Library/).
// It runs ${CREATE_FILE_EXE} which will create a file.
+ //
+ // WARNING: if you run 'complex' manually, this *will* fail, because
+ // the file was removed the last time 'complex' was run, and it is
+ // only created during a build.
TestAndRemoveFile(BINARY_DIR "/Library/postbuild.txt");
// ----------------------------------------------------------------------
// A custom target has been created (see Library/).
// It runs ${CREATE_FILE_EXE} which will create a file.
+ //
+ // WARNING: if you run 'complex' manually, this *will* fail, because
+ // the file was removed the last time 'complex' was run, and it is
+ // only created during a build.
TestAndRemoveFile(BINARY_DIR "/Library/custom_target1.txt");
@@ -503,6 +511,10 @@ int main()
// Test OUTPUT_REQUIRED_FILES
// The files required by 'complex' have been output to a file.
// The contents of this file is not tested (absolute paths).
+ //
+ // WARNING: if you run 'complex' manually, this *will* fail, because
+ // the file was removed the last time 'complex' was run, and it is
+ // only created during a build.
// TestAndRemoveFile(BINARY_DIR "/Executable/complex-required.txt");