Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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)
git
MITK
CMake
mitkFunctionAddTestLabel.cmake
Generated on Fri Feb 3 2017 20:51:58 for Medical Imaging Interaction Toolkit by
1.8.9.1