Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkFunctionAddTestLabel.cmake
Go to the documentation of this file.
1
#
2
# Use to attach a CTest/CDash label to a test (already added via ADD_TEST)
3
#
4
# Call with or without an explicit second parameter. If no second parameter is given,
5
# ${MITK_DEFAULT_SUBPROJECTS} will be used as standard label
6
#
7
function
(
mitkFunctionAddTestLabel
test_name)
8
set
(label ${MITK_DEFAULT_SUBPROJECTS})
9
if
(ARGN)
10
set
(label ${ARGN})
11
endif()
12
set_property(TEST ${test_name} APPEND PROPERTY LABELS ${label})
13
endfunction(
mitkFunctionAddTestLabel
)
14
15
CMake::mitkFunctionAddTestLabel
mitkFunctionAddTestLabel(test_name)
Source
CMake
mitkFunctionAddTestLabel.cmake
Generated on Thu Mar 12 2020 10:23:49 for Medical Imaging Interaction Toolkit by
1.8.13