Skip to content
Snippets Groups Projects
Commit f34d7501 authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[cmake] add COMMON_HEADER to test sources to fix header listing and

remove redundant line
parent b86fe2cd
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ macro(BEGIN_TESTCASES)
get_filename_component(testbase ${source} NAME_WE)
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${testbase}.mini )
set( inifile ${testbase}.mini)
dune_add_system_test(SOURCE ${testbase}.cc
dune_add_system_test(SOURCE ${testbase}.cc ${COMMON_HEADER}
INIFILE ${inifile}
BASENAME test_${testbase}
CREATED_TARGETS targetlist_${testbase}
......
......@@ -11,8 +11,6 @@ enable_testing()
DEPENDENCYCHECK( ${xtcommon} )
set_source_files_properties( ${DUNE_HEADERS} PROPERTIES HEADER_FILE_ONLY 1 )
BEGIN_TESTCASES(dunextcommon)
END_TESTCASES()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment