Debian Codegraph @

liblearnerprofile/src/CMakeLists.txt

raw
1 # SPDX-FileCopyrightText: 2013 Andreas Cord-Landwehr <[email protected]>
2 # SPDX-License-Identifier: BSD-2-Clause
3
4 set(learnerprofile_LIB_SRCS
5 learner.cpp
6 learninggoal.cpp
7 profilemanager.cpp
8 storage.cpp
9 models/learninggoalmodel.cpp
10 liblearner_debug.cpp
11 )
12
13 add_library(artikulatelearnerprofile SHARED ${learnerprofile_LIB_SRCS})
14 generate_export_header(artikulatelearnerprofile BASE_NAME liblearnerprofile)
15
16 target_link_libraries(
17 artikulatelearnerprofile
18 LINK_PUBLIC
19 Qt::Core
20 Qt::Gui
21 Qt::Sql
22 Qt::Widgets
23 KF6::ConfigCore
24 KF6::I18n
25 )
26 # internal library without any API or ABI guarantee
27 set(GENERIC_LIB_VERSION "0")
28 set(GENERIC_LIB_SOVERSION "0")
29 set_target_properties(
30 artikulatelearnerprofile
31 PROPERTIES
32 VERSION ${GENERIC_LIB_VERSION}
33 SOVERSION ${GENERIC_LIB_SOVERSION}
34 )
35
36 install(
37 TARGETS artikulatelearnerprofile
38 LIBRARY NAMELINK_SKIP
39 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}
40 )