diff options
author | David Cole <david.cole@kitware.com> | 2012-04-03 19:59:02 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-04-03 19:59:02 (GMT) |
commit | ff575b229dd19c91fdd4065e8205759d0dfd2d16 (patch) | |
tree | 8471b8137ddf11928f6c2c1900af6cd045e537b0 | |
parent | b450b6dcc7d04af11b6841d43c8307b924f7d45e (diff) | |
parent | d5318e00cb9a0b148f6f4484070ce803543dc070 (diff) | |
download | CMake-ff575b229dd19c91fdd4065e8205759d0dfd2d16.zip CMake-ff575b229dd19c91fdd4065e8205759d0dfd2d16.tar.gz CMake-ff575b229dd19c91fdd4065e8205759d0dfd2d16.tar.bz2 |
Merge topic 'dev/granular-test-targets-ninja'
d5318e0 Create granular targets for Ninja generators too
-rw-r--r-- | Modules/CTestTargets.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CTestTargets.cmake b/Modules/CTestTargets.cmake index d66874d..bc4d964 100644 --- a/Modules/CTestTargets.cmake +++ b/Modules/CTestTargets.cmake @@ -69,7 +69,7 @@ IF(NOT _CTEST_TARGETS_ADDED) ENDFOREACH(mode) # For Makefile generators add more granular targets. - IF("${CMAKE_GENERATOR}" MATCHES Make) + IF("${CMAKE_GENERATOR}" MATCHES "(Ninja|Make)") # Make targets for Experimental builds FOREACH(mode Nightly Experimental Continuous) FOREACH(testtype @@ -83,7 +83,7 @@ IF(NOT _CTEST_TARGETS_ADDED) SET_PROPERTY(TARGET ${mode}${testtype} PROPERTY FOLDER "CTestDashboardTargets") ENDFOREACH(testtype) ENDFOREACH(mode) - ENDIF("${CMAKE_GENERATOR}" MATCHES Make) + ENDIF("${CMAKE_GENERATOR}" MATCHES "(Ninja|Make)") # If requested, add an alias that is the equivalent of the built-in "test" # or "RUN_TESTS" target: |