Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/CMakeLists.txt
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 50 | if(BUILD_TESTING) | |||
---|---|---|---|---|---|
51 | add_subdirectory( tests ) | 51 | add_subdirectory( tests ) | ||
52 | endif() | 52 | endif() | ||
53 | 53 | | |||
54 | set( _HEADERS kmymoneyutils.h kmymoneyglobalsettings.h ) | 54 | set( _HEADERS kmymoneyutils.h kmymoneyglobalsettings.h ) | ||
55 | 55 | | |||
56 | ########### settings code (kmm_config) STATIC ############### | 56 | ########### settings code (kmm_config) STATIC ############### | ||
57 | set( kmm_config_SRCS kmymoneyglobalsettings.cpp ) | 57 | set( kmm_config_SRCS kmymoneyglobalsettings.cpp ) | ||
58 | kconfig_add_kcfg_files( kmm_config_SRCS kmymoneysettings.kcfgc ) | 58 | kconfig_add_kcfg_files( kmm_config_SRCS kmymoneysettings.kcfgc ) | ||
59 | kconfig_add_kcfg_files( kmm_config_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/plugins/forecast/forecastviewsettings.kcfgc ) | ||||
59 | add_library(kmm_config STATIC ${kmm_config_SRCS}) | 60 | add_library(kmm_config STATIC ${kmm_config_SRCS}) | ||
60 | target_link_libraries(kmm_config KF5::WidgetsAddons KF5::ConfigWidgets Qt5::Sql Alkimia::alkimia) | 61 | target_link_libraries(kmm_config KF5::WidgetsAddons KF5::ConfigWidgets Qt5::Sql Alkimia::alkimia) | ||
61 | 62 | | |||
62 | ########### common code (kmymoney_common) STATIC ############### | 63 | ########### common code (kmymoney_common) STATIC ############### | ||
63 | # will be linked into kmymoney, kmymoneytest, and libkmymoney.so | 64 | # will be linked into kmymoney, kmymoneytest, and libkmymoney.so | ||
64 | 65 | | |||
65 | set( kmymoney_common_SRCS kmymoneyutils.cpp kstartuplogo.cpp kcreditswindow.cpp ) | 66 | set( kmymoney_common_SRCS kmymoneyutils.cpp kstartuplogo.cpp kcreditswindow.cpp ) | ||
66 | add_library(kmymoney_common STATIC ${kmymoney_common_SRCS}) | 67 | add_library(kmymoney_common STATIC ${kmymoney_common_SRCS}) | ||
▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines |