4 if(NOT MITK_FAST_TESTING)
6 # package testing in windows only for release
8 add_test(
NAME mitkPackageTest CONFIGURATIONS Release
9 COMMAND ${CMAKE_COMMAND} --build ${MITK_BINARY_DIR} --config Release --target package)
11 set_tests_properties( mitkPackageTest PROPERTIES
13 LABELS
"MITK;MITK-Plugins;PACKAGE_TESTS")
14 elseif(CMAKE_BUILD_TYPE)
15 add_test(
NAME mitkPackageTest
16 COMMAND ${CMAKE_COMMAND} --build ${MITK_BINARY_DIR} --config ${CMAKE_BUILD_TYPE} --target package)
18 set_tests_properties( mitkPackageTest PROPERTIES
20 LABELS
"MITK;MITK-Plugins;PACKAGE_TESTS"
24 endif()
# NOT MITK_FAST_TESTING