Add the project name to the LABELS property

This commit is contained in:
Laurent Rineau 2016-07-21 15:44:30 +02:00
parent c46e983139
commit 1da7e81b55
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ function(create_single_source_cgal_program firstfile )
add_test(NAME ${exe_name}
COMMAND ${exe_name} ${ARGS}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
set_property(TEST "${exe_name}"
APPEND PROPERTY LABELS "${PROJECT_NAME}")
endif(BUILD_TESTING)
add_to_cached_list( CGAL_EXECUTABLE_TARGETS ${exe_name} )