mirror of
https://github.com/triqs/dft_tools
synced 2024-12-27 06:43:40 +01:00
7 lines
260 B
CMake
7 lines
260 B
CMake
|
FILE(GLOB TestList RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp)
|
||
|
FOREACH( TestName1 ${TestList} )
|
||
|
STRING(REPLACE ".cpp" "" TestName ${TestName1})
|
||
|
add_executable( ${TestName} ${CMAKE_CURRENT_SOURCE_DIR}/${TestName}.cpp )
|
||
|
ENDFOREACH( TestName1 ${TestList} )
|
||
|
|