Changeset View
Changeset View
Standalone View
Standalone View
tests/core/CMakeLists.txt
1 | find_package(Qt5 REQUIRED COMPONENTS Test) | 1 | find_package(Qt5 REQUIRED COMPONENTS Test) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | include_directories(${CMAKE_SOURCE_DIR} "${CMAKE_BINARY_DIR}/src/core/") | 3 | include_directories(${CMAKE_SOURCE_DIR} "${CMAKE_BINARY_DIR}/src/core/") | ||
4 | 4 | | |||
5 | set(CORE_TEST_LIBRARIES | 5 | set(CORE_TEST_LIBRARIES | ||
6 | gcompris_core | 6 | gcompris_core | ||
7 | Qt5::Core | 7 | Qt5::Core | ||
8 | Qt5::Test | 8 | Qt5::Test | ||
9 | ) | 9 | ) | ||
10 | 10 | | |||
11 | ecm_add_tests(ActivityInfoTest.cpp | 11 | ecm_add_tests(ActivityInfoTest.cpp | ||
12 | ApplicationSettingsTest.cpp | 12 | ApplicationSettingsTest.cpp | ||
13 | DirectoryTest.cpp | 13 | DirectoryTest.cpp | ||
14 | FileTest.cpp | 14 | FileTest.cpp | ||
15 | ApplicationInfoTest.cpp | 15 | ApplicationInfoTest.cpp | ||
16 | DownloadManagerTest.cpp | ||||
16 | # add new test file here | 17 | # add new test file here | ||
17 | NAME_PREFIX Core | 18 | NAME_PREFIX Core | ||
18 | LINK_LIBRARIES ${CORE_TEST_LIBRARIES}) | 19 | LINK_LIBRARIES ${CORE_TEST_LIBRARIES}) |