diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-01-21 20:30:37 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-01-21 20:30:37 (GMT) |
commit | 0660ea09c5654b53008b12455c213dfc142c3330 (patch) | |
tree | a3926d90c58dcbdeae8887a341373e4b7995d1b5 /Tests | |
parent | 0bee6e523f6f09afc3222d6768b8e20c4003d4d9 (diff) | |
download | CMake-0660ea09c5654b53008b12455c213dfc142c3330.zip CMake-0660ea09c5654b53008b12455c213dfc142c3330.tar.gz CMake-0660ea09c5654b53008b12455c213dfc142c3330.tar.bz2 |
Add warnings/infos
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 12 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 12 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/complex.cxx | 12 |
3 files changed, 36 insertions, 0 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index a5bba20..b0b7b6c 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/Tests/Complex/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"); 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"); diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index a5bba20..b0b7b6c 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/Tests/ComplexRelativePaths/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"); |