mirror of
https://github.com/triqs/dft_tools
synced 2024-11-18 12:03:50 +01:00
[cmake] Generate list of all tests through GLOB_RECURSE by default
This commit is contained in:
parent
cd758dd639
commit
c87aceed37
@ -5,8 +5,7 @@ foreach(file ${all_h5_ref_files})
|
||||
endforeach()
|
||||
|
||||
# List of all tests
|
||||
set(all_tests *.cpp)
|
||||
file(GLOB_RECURSE all_tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${all_tests})
|
||||
file(GLOB_RECURSE all_tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp)
|
||||
|
||||
foreach(test ${all_tests})
|
||||
get_filename_component(test_name ${test} NAME_WE)
|
||||
|
Loading…
Reference in New Issue
Block a user