2014-11-13 19:30:51 +02:00
|
|
|
set(oxygenstyle_LIB_SRCS
|
|
|
|
oxygenhelper.cpp
|
|
|
|
oxygenitemmodel.cpp
|
|
|
|
oxygenshadowcache.cpp
|
|
|
|
oxygentileset.cpp
|
|
|
|
oxygenutil.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_kcfg_files(oxygenstyle_LIB_SRCS
|
2015-09-01 04:37:19 +03:00
|
|
|
oxygenactiveshadowconfiguration.kcfgc
|
|
|
|
oxygeninactiveshadowconfiguration.kcfgc
|
2014-11-13 19:30:51 +02:00
|
|
|
)
|
|
|
|
|
2015-09-01 04:37:19 +03:00
|
|
|
add_library(oxygenstyle SHARED ${oxygenstyle_LIB_SRCS})
|
2020-02-10 00:23:28 +00:00
|
|
|
target_link_libraries(oxygenstyle PUBLIC
|
|
|
|
${KDE4_KDEUI_LIBS}
|
|
|
|
)
|
2023-06-17 18:38:55 +03:00
|
|
|
target_link_libraries(oxygenstyle PRIVATE ${X11_LIBRARIES})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2016-09-01 04:09:09 +00:00
|
|
|
set_target_properties(oxygenstyle PROPERTIES
|
|
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
|
|
)
|
2023-06-17 18:38:55 +03:00
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS oxygenstyle
|
|
|
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
# next target
|
|
|
|
set(oxygenstyleconfig_LIB_SRCS
|
|
|
|
oxygenshadowconfigwidget.cpp
|
2015-09-01 04:37:19 +03:00
|
|
|
oxygenshadowconfigurationui.ui
|
2014-11-13 19:30:51 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_kcfg_files(oxygenstyleconfig_LIB_SRCS
|
2015-09-01 04:37:19 +03:00
|
|
|
oxygenactiveshadowconfiguration.kcfgc
|
|
|
|
oxygeninactiveshadowconfiguration.kcfgc
|
2014-11-13 19:30:51 +02:00
|
|
|
)
|
|
|
|
|
2015-09-01 04:37:19 +03:00
|
|
|
add_library(oxygenstyleconfig SHARED ${oxygenstyleconfig_LIB_SRCS})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2020-02-10 00:23:28 +00:00
|
|
|
target_link_libraries(oxygenstyleconfig PUBLIC
|
|
|
|
${KDE4_KDEUI_LIBS}
|
|
|
|
oxygenstyle
|
|
|
|
)
|
2023-06-17 18:38:55 +03:00
|
|
|
target_link_libraries(oxygenstyleconfig PRIVATE ${X11_LIBRARIES})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2016-09-01 04:09:09 +00:00
|
|
|
set_target_properties(oxygenstyleconfig PROPERTIES
|
|
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
|
|
)
|
2023-06-17 18:38:55 +03:00
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS oxygenstyleconfig
|
|
|
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2016-09-01 04:09:09 +00:00
|
|
|
generate_export_header(oxygenstyle BASE_NAME oxygen)
|
|
|
|
|
2014-11-13 19:30:51 +02:00
|
|
|
# Note: no headers installed
|