Added header dependency tests.

This commit is contained in:
Kevin M. Godby
2016-05-04 19:24:17 -05:00
parent 5550eb9753
commit 2666b6cbf1
5 changed files with 97 additions and 0 deletions

21
tests/CMakeLists.txt Normal file
View File

@@ -0,0 +1,21 @@
#
# Tests
#
enable_testing()
# Build Catch unit tests
#function(add_catch_test _testname)
# add_executable(${_testname} ${_testname}.cpp)
# target_link_libraries(${_testname} Catch)
# add_test(NAME test_${_testname} COMMAND ${_testname})
#endfunction()
#
#file(GLOB catch_tests LIST_DIRECTORIES false *.cpp)
#foreach(catch_test IN LIST catch_tests)
# add_catch_test(${catch_test})
#endforeach()
# Ensure headers include their own dependencies
add_subdirectory(header_dependencies)