Warning, /education/kiten/lib/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 ############# kitenlib #################
0002 set(KITEN_LIB_VERSION "6.0.0")
0003 set(KITEN_LIB_SOVERSION "6")
0004 
0005 add_library(kiten)
0006 set_target_properties(kiten PROPERTIES
0007     VERSION ${KITEN_LIB_VERSION}
0008     SOVERSION ${KITEN_LIB_SOVERSION}
0009 )
0010 
0011 target_sources(kiten PRIVATE
0012     DictEdict/deinflection.cpp
0013     DictEdict/dictfileedict.cpp
0014     DictEdict/entryedict.cpp
0015     DictEdict/linearedictfile.cpp
0016     DictEdict/dictfilefieldselector.cpp
0017 
0018     DictKanjidic/dictfilekanjidic.cpp
0019     DictKanjidic/entrykanjidic.cpp
0020 
0021     dictionarymanager.cpp
0022     dictionarypreferencedialog.cpp
0023     dictquery.cpp
0024     entry.cpp
0025     entrylist.cpp
0026     historyptrlist.cpp
0027 )
0028 
0029 generate_export_header(kiten)
0030 
0031 target_link_libraries(kiten
0032     PUBLIC
0033         KF6::Completion
0034         Qt::Widgets
0035         Qt::Core
0036     PRIVATE
0037         KF6::ConfigCore
0038         KF6::ConfigGui
0039         KF6::CoreAddons
0040         KF6::I18n
0041         KF6::WidgetsAddons
0042 )
0043 
0044 install( TARGETS kiten  ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0045 
0046 ############ install headers #############
0047 install( FILES
0048                 dictionarymanager.h
0049                 dictionarypreferencedialog.h
0050                 dictquery.h
0051                 entry.h
0052                 entrylist.h
0053                 historyptrlist.h
0054           DESTINATION ${KDE_INSTALL_INCLUDEDIR}/libkiten COMPONENT Devel
0055                 )
0056 install(FILES
0057         DictEdict/dictfileedict.h
0058         DictEdict/entryedict.h
0059         DESTINATION ${KDE_INSTALL_INCLUDEDIR}/libkiten/DictEdict COMPONENT Devel)
0060 install(FILES
0061         DictKanjidic/dictfilekanjidic.h
0062         DictKanjidic/entrykanjidic.h
0063         DESTINATION ${KDE_INSTALL_INCLUDEDIR}/libkiten/DictKanjidic COMPONENT Devel)