diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-03-27 18:54:31 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-03-27 18:54:31 (GMT) |
commit | 85b286f04e85f8acb8add3fb6d00d362d34f72dc (patch) | |
tree | 3283e51323f46865dbceb3df966807719f28acea /Tests/ComplexOneConfig/VarTests.cmake | |
parent | 1623dc2183996810c00417e9bc532ce38f7c893e (diff) | |
download | CMake-85b286f04e85f8acb8add3fb6d00d362d34f72dc.zip CMake-85b286f04e85f8acb8add3fb6d00d362d34f72dc.tar.gz CMake-85b286f04e85f8acb8add3fb6d00d362d34f72dc.tar.bz2 |
ENH: add a more stressing FOREACH test.
Diffstat (limited to 'Tests/ComplexOneConfig/VarTests.cmake')
-rw-r--r-- | Tests/ComplexOneConfig/VarTests.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/VarTests.cmake b/Tests/ComplexOneConfig/VarTests.cmake index 5c444f5..48d04c1 100644 --- a/Tests/ComplexOneConfig/VarTests.cmake +++ b/Tests/ComplexOneConfig/VarTests.cmake @@ -102,6 +102,11 @@ FOREACH (INDEX 1 2) SET(FOREACH_VAR${INDEX} "VALUE${INDEX}") ENDFOREACH(INDEX) +SET(FOREACH_CONCAT "") +FOREACH (INDEX "a;b;c;d;e;f;g") + SET(FOREACH_CONCAT "${FOREACH_CONCAT}${INDEX}") +ENDFOREACH(INDEX) + # # Test FIND_FILE, FIND_PATH and various GET_FILENAME_COMPONENT combinations # |