diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-04-22 15:51:26 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-04-22 15:51:26 (GMT) |
commit | 7aa35093b8f96ef75bbf9160a55739be4861b9ea (patch) | |
tree | 224dacac83a61d4d08ec7a78301f636d38440655 /Tests/ComplexOneConfig/Executable/complex.cxx | |
parent | 9c69be42deb1aba6c37eaad2d5b2c07bae58a13a (diff) | |
download | CMake-7aa35093b8f96ef75bbf9160a55739be4861b9ea.zip CMake-7aa35093b8f96ef75bbf9160a55739be4861b9ea.tar.gz CMake-7aa35093b8f96ef75bbf9160a55739be4861b9ea.tar.bz2 |
fixed for remove COMMAND
Diffstat (limited to 'Tests/ComplexOneConfig/Executable/complex.cxx')
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index 7d86179..89c3436 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/Executable/complex.cxx @@ -1,4 +1,5 @@ #include "cmTestConfigure.h" +#include "cmVersion.h" #include "ExtraSources/file1.h" #include "file2.h" #include "sharedFile.h" @@ -655,6 +656,18 @@ int main() { cmFailed("CMAKE_MINIMUM_REQUIRED_VERSION is not set to the expected 1.3"); } + + // ---------------------------------------------------------------------- + // Test REMOVE command + if (strcmp("a;b;d",REMOVE_STRING)) + { + cmPassed("REMOVE is working"); + } + else + { + cmFailed("REMOVE is not working"); + } + // ---------------------------------------------------------------------- // Summary |