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

0001 add_subdirectory( pics ) 
0002 
0003 ########### next target ###############
0004 
0005 ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX KBRUCH VERSION_HEADER kbruch_version.h)
0006 
0007 include_directories( ${CMAKE_CURRENT_BINARY_DIR} )
0008 
0009 set(kbruch_SRCS
0010    PrimeFactorsLineEdit.cpp
0011    ExerciseBase.cpp
0012    Task.cpp
0013    Ratio.cpp
0014    TaskView.cpp
0015    StatisticsView.cpp
0016    PrimeNumber.cpp
0017    KBruch.cpp
0018    MainQtWidget.cpp
0019    TaskWidget.cpp
0020    FractionBaseWidget.cpp
0021    ResultWidget.cpp
0022    ExerciseCompare.cpp
0023    ExercisePercentage.cpp
0024    ExerciseMixedNumbers.cpp
0025    RatioWidget.cpp
0026    RationalWidget.cpp
0027    ExerciseConvert.cpp
0028    StatisticsBarWidget.cpp
0029    ExerciseFactorize.cpp
0030    AppMenuWidget.cpp
0031    FractionPainter.cpp
0032    FractionRingWidget.cpp )
0033 
0034 ki18n_wrap_ui(kbruch_SRCS taskcolorsbase.ui taskfontsbase.ui)
0035 
0036 kconfig_add_kcfg_files(kbruch_SRCS settingsclass.kcfgc )
0037 
0038 add_executable(kbruch ${kbruch_SRCS})
0039 
0040 target_link_libraries(kbruch
0041     KF5::ConfigCore
0042     KF5::ConfigGui
0043     KF5::CoreAddons
0044     KF5::Crash
0045     KF5::I18n
0046     KF5::WidgetsAddons
0047     KF5::XmlGui
0048 )
0049 
0050 install(TARGETS kbruch  ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
0051 
0052 
0053 ########### install files ###############
0054 
0055 install( PROGRAMS org.kde.kbruch.desktop  DESTINATION  ${KDE_INSTALL_APPDIR} )
0056 install( FILES kbruch.kcfg  DESTINATION  ${KDE_INSTALL_KCFGDIR} )
0057 install( FILES kbruchui.rc  DESTINATION  ${KDE_INSTALL_KXMLGUIDIR}/kbruch )
0058 install( FILES AppMenuWidgetui.rc  DESTINATION  ${KDE_INSTALL_KXMLGUIDIR}/kbruch )
0059 install( FILES FractionRingWidgetui.rc  DESTINATION  ${KDE_INSTALL_KXMLGUIDIR}/kbruch )
0060 
0061 ecm_install_icons( ICONS 16-apps-kbruch.png 22-apps-kbruch.png 32-apps-kbruch.png 48-apps-kbruch.png 64-apps-kbruch.png 128-apps-kbruch.png sc-apps-kbruch.svgz DESTINATION ${KDE_INSTALL_ICONDIR} THEME hicolor )