| 1 |
# SPDX-FileCopyrightText: 2016 Andreas Cord-Landwehr <[email protected]> |
| 2 |
# SPDX-License-Identifier: BSD-2-Clause |
| 3 |
|
| 4 |
include_directories( |
| 5 |
../src/ |
| 6 |
../ |
| 7 |
${CMAKE_CURRENT_BINARY_DIR} |
| 8 |
) |
| 9 |
|
| 10 |
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}) |
| 11 |
set(TestLearnerStorage_SRCS |
| 12 |
testlearnerstorage.cpp |
| 13 |
../src/storage.cpp |
| 14 |
../src/liblearner_debug.cpp |
| 15 |
) |
| 16 |
add_executable(TestLearnerStorage ${TestLearnerStorage_SRCS} ) |
| 17 |
target_link_libraries(TestLearnerStorage |
| 18 |
artikulatelearnerprofile |
| 19 |
Qt::Test |
| 20 |
) |
| 21 |
add_test(NAME TestLearnerStorage COMMAND TestLearnerStorage) |
| 22 |
ecm_mark_as_test(TestLearnerStorage) |