mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-27 06:35:16 +00:00
Rename cmake/Find-tests.cmake to cmake/FindTests.cmake
This commit is contained in:
parent
cb4b45e58b
commit
0430fe998c
@ -1,8 +1,4 @@
|
|||||||
# - Find tests
|
# Find tests and add rules to compile them and run them
|
||||||
# Find tests and run them
|
|
||||||
#
|
|
||||||
# find_test(dir dependencies)
|
|
||||||
|
|
||||||
|
|
||||||
function(find_tests dir dependencies)
|
function(find_tests dir dependencies)
|
||||||
file(GLOB tests ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/*_tests.cpp)
|
file(GLOB tests ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/*_tests.cpp)
|
||||||
@ -37,4 +33,3 @@ function(find_tests dir dependencies)
|
|||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
@ -166,7 +166,7 @@ install(DIRECTORY ../data
|
|||||||
# Tests
|
# Tests
|
||||||
|
|
||||||
if(ENABLE_TESTS)
|
if(ENABLE_TESTS)
|
||||||
include(Find-tests)
|
include(FindTests)
|
||||||
|
|
||||||
find_tests(base base-lib)
|
find_tests(base base-lib)
|
||||||
find_tests(undo undo-lib)
|
find_tests(undo undo-lib)
|
||||||
@ -179,4 +179,3 @@ if(ENABLE_TESTS)
|
|||||||
find_tests(app app-lib)
|
find_tests(app app-lib)
|
||||||
find_tests(. app-lib)
|
find_tests(. app-lib)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user