mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-06 05:01:25 -07: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")
|
include_directories("../src")
|
||||||
|
|
||||||
file(GLOB testFiles "${CMAKE_CURRENT_SOURCE_DIR}/test*.cpp")
|
set(testFiles
|
||||||
|
testutilsgzip.cpp
|
||||||
|
)
|
||||||
foreach(testFile ${testFiles})
|
foreach(testFile ${testFiles})
|
||||||
get_filename_component(testFilename "${testFile}" NAME_WLE)
|
get_filename_component(testFilename "${testFile}" NAME_WLE)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue