mirror of
https://github.com/triqs/dft_tools
synced 2024-12-23 04:43:42 +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()
|
endforeach()
|
||||||
|
|
||||||
# List of all tests
|
# List of all tests
|
||||||
set(all_tests *.cpp)
|
file(GLOB_RECURSE all_tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp)
|
||||||
file(GLOB_RECURSE all_tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${all_tests})
|
|
||||||
|
|
||||||
foreach(test ${all_tests})
|
foreach(test ${all_tests})
|
||||||
get_filename_component(test_name ${test} NAME_WE)
|
get_filename_component(test_name ${test} NAME_WE)
|
||||||
|
Loading…
Reference in New Issue
Block a user