diff options
author | Brad King <brad.king@kitware.com> | 2011-06-10 12:48:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-06-10 13:25:46 (GMT) |
commit | 77ddb6a0cd35996f1329d727a25de3460f6aa899 (patch) | |
tree | 8d1599e0c93ac466c18650d1fc41c72d1af19d4f /Source/CTest/cmCTestTestHandler.cxx | |
parent | 9ccefd55c5db49a0ddb518a7d1a2986def1ec55e (diff) | |
download | CMake-77ddb6a0cd35996f1329d727a25de3460f6aa899.zip CMake-77ddb6a0cd35996f1329d727a25de3460f6aa899.tar.gz CMake-77ddb6a0cd35996f1329d727a25de3460f6aa899.tar.bz2 |
Use cascading-if for per-config test and install code
When generating per-config blocks in test and install scripts replace
the form
IF()
# config == A
ENDIF()
IF()
# config == B
ENDIF()
with
IF()
# config == A
ELSEIF()
# config == B
ELSE()
# no config matches
ENDIF()
for clarity and to support the else() case cleanly.
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
0 files changed, 0 insertions, 0 deletions