Skip to content

Commit b8f510e

Browse files
committed
register tests_cpp with ctest
1 parent 1a9c6b3 commit b8f510e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
include_guard(GLOBAL)
22
cmake_minimum_required(VERSION 3.13)
3+
enable_testing()
34

45
include(misc/cmake/GlobalHead.cmake)
56
project(libqif)

tests_cpp/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ if(EXISTS "../external/googletest/CMakeLists.txt") # only if googletest is
2323
endif()
2424

2525
add_dependencies(tests_cpp run)
26+
add_test(NAME tests_cpp COMMAND run)
2627

2728
endif()

0 commit comments

Comments
 (0)