Skip to content

Commit

Permalink
Drop test target
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell authored and tmadlener committed Jul 17, 2023
1 parent 2658a68 commit b3f1b43
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,11 @@ IF( BUILD_TESTING )
SET( test_bins ${test_bins} testGearTGeo testMaterialBudgetNew testInteractionLengths testMaterialBudget testMaterialMap )
ENDIF()

ADD_CUSTOM_TARGET( tests )

FOREACH( _testname ${test_bins} )

ADD_EXECUTABLE( ${_testname} ./test/${_testname}.cc )

ADD_DEPENDENCIES( tests ${_testname} )
TARGET_LINK_LIBRARIES( ${_testname} gear gearxml )

ENDFOREACH()
Expand All @@ -122,7 +120,6 @@ IF( BUILD_TESTING )
ADD_EXECUTABLE( testFTD EXCLUDE_FROM_ALL ./test/testFTD.cc )
ENDIF()

ADD_DEPENDENCIES( tests testFTD )
TARGET_LINK_LIBRARIES( testFTD gear gearxml ${ROOT_LIBRARIES} ${ROOT_COMPONENT_LIBRARIES} )
ENDIF()

Expand Down

0 comments on commit b3f1b43

Please sign in to comment.