diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-10-09 19:54:34 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-10-09 19:54:34 (GMT) |
commit | aef8110c36773c11283f998c38998d364be9b054 (patch) | |
tree | 0d20d2e13bcf3ebb09e3ec86b89fa70ce10751cf /Tests/ComplexOneConfig/Executable | |
parent | f990777a605f200d00aa5ba980c1acbdc9446ed9 (diff) | |
download | CMake-aef8110c36773c11283f998c38998d364be9b054.zip CMake-aef8110c36773c11283f998c38998d364be9b054.tar.gz CMake-aef8110c36773c11283f998c38998d364be9b054.tar.bz2 |
added test of SET CACHE FORCE
Diffstat (limited to 'Tests/ComplexOneConfig/Executable')
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index c5969cb..7aa4140 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/Executable/complex.cxx @@ -809,6 +809,12 @@ int main() cmFailed("IF inside a FOREACH block is broken"); #endif +#ifdef FORCE_TEST + cmFailed("CMake SET CACHE FORCE"); +#else + cmPassed("CMake SET CACHE FORCE"); +#endif + // ---------------------------------------------------------------------- // Summary |