mirror of
https://github.com/triqs/dft_tools
synced 2025-04-25 17:54:54 +02: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…
x
Reference in New Issue
Block a user