Specify test files manually

So that cmake will detect file changes automatically and therefore we
don't need to re-invoke cmake manually.
This commit is contained in:
Chocobo1 2022-07-11 13:55:46 +08:00
parent d6314b30a2
commit 0d715d879d
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

@ -9,7 +9,9 @@ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure)
include_directories("../src")
file(GLOB testFiles "${CMAKE_CURRENT_SOURCE_DIR}/test*.cpp")
set(testFiles
testutilsgzip.cpp
)
foreach(testFile ${testFiles})
get_filename_component(testFilename "${testFile}" NAME_WLE)