mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-24 10:16:00 +03:00
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:
parent
d6314b30a2
commit
0d715d879d
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue