Skip to content

Commit 2fd4752

Browse files
committed
add ctest
1 parent 3c158b1 commit 2fd4752

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,8 @@ if (PAINFUL_CPP_STRING_CONVERSION_ENABLE_TEST)
2323
target_compile_features(${TEST_NAME} PRIVATE cxx_std_17)
2424
target_sources(${TEST_NAME} PRIVATE test/test.cpp)
2525
target_link_libraries(${TEST_NAME} PRIVATE ${LIB_NAME} simdutf)
26+
27+
include(CTest)
28+
29+
add_test(NAME test-all COMMAND $<TARGET_FILE:${TEST_NAME}>)
2630
endif ()

0 commit comments

Comments
 (0)