cmake-d/tests/app_9/CMakeLists.txt
2016-08-06 18:07:17 +02:00

14 lines
310 B
CMake

include(UseDUnittest)
# TODO
# how to rerun cmake if a new file is created
# I don't want to miss new unittests
# add all files
file(GLOB files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.d")
foreach(file IN LISTS files)
add_unittests(${file})
endforeach()
#add_unittests(moduleA.d)
#add_unittests(moduleB.d)