https://github.com/Kitware/CMake
Revision 77ddb6a0cd35996f1329d727a25de3460f6aa899 authored by Brad King on 10 June 2011, 12:48:20 UTC, committed by Brad King on 10 June 2011, 13:25:46 UTC
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.
1 parent 9ccefd5
Tip revision: 77ddb6a0cd35996f1329d727a25de3460f6aa899 authored by Brad King on 10 June 2011, 12:48:20 UTC
Use cascading-if for per-config test and install code
Use cascading-if for per-config test and install code
Tip revision: 77ddb6a
File | Mode | Size |
---|---|---|
Docs | ||
Example | ||
Modules | ||
Source | ||
Templates | ||
Tests | ||
Utilities | ||
.gitattributes | -rw-r--r-- | 516 bytes |
CMakeCPack.cmake | -rw-r--r-- | 5.5 KB |
CMakeCPackOptions.cmake.in | -rw-r--r-- | 2.7 KB |
CMakeGraphVizOptions.cmake | -rw-r--r-- | 153 bytes |
CMakeLists.txt | -rw-r--r-- | 25.3 KB |
CMakeLogo.gif | -rw-r--r-- | 4.4 KB |
CTestConfig.cmake | -rw-r--r-- | 1.0 KB |
CTestCustom.cmake.in | -rw-r--r-- | 2.8 KB |
CTestCustom.ctest.in | -rw-r--r-- | 145 bytes |
ChangeLog.manual | -rw-r--r-- | 61.1 KB |
ChangeLog.txt | -rw-r--r-- | 2.5 MB |
CompileFlags.cmake | -rw-r--r-- | 2.4 KB |
Copyright.txt | -rw-r--r-- | 2.6 KB |
DartConfig.cmake | -rw-r--r-- | 809 bytes |
DartLocal.conf.in | -rw-r--r-- | 4.0 KB |
Readme.txt | -rw-r--r-- | 1.9 KB |
bootstrap | -rwxr-xr-x | 51.7 KB |
cmake.1 | -rw-r--r-- | 3.6 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 968 bytes |
configure | -rwxr-xr-x | 99 bytes |
doxygen.config | -rw-r--r-- | 27.7 KB |
Computing file changes ...