2009-08-22 08:24:06 +00:00
|
|
|
########### add version number into compilation defines
|
2013-01-01 14:01:16 +00:00
|
|
|
# FIXME: CPACK_PACKAGE_VERSION_* are empty
|
2013-08-01 18:20:44 +00:00
|
|
|
add_definitions (-DAPP_VERSION=\\\"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\\\")
|
|
|
|
add_definitions( -DHAVE_X11=${X11_FOUND} )
|
|
|
|
add_subdirectory(config)
|
|
|
|
add_subdirectory(demo)
|
|
|
|
add_subdirectory(data)
|
2011-01-29 18:12:23 +00:00
|
|
|
|
2010-03-02 03:40:34 +00:00
|
|
|
include_directories(${KDEBASE_WORKSPACE_SOURCE_DIR}/libs/oxygen)
|
2009-08-22 08:24:06 +00:00
|
|
|
|
|
|
|
########### next target ###############
|
2009-09-15 06:25:06 +00:00
|
|
|
set(kwin_oxygen_SRCS
|
2009-09-15 07:12:54 +00:00
|
|
|
oxygenbutton.cpp
|
|
|
|
oxygenclient.cpp
|
2009-11-15 03:24:04 +00:00
|
|
|
oxygenclientgroupitemdata.cpp
|
2010-05-02 18:50:01 +00:00
|
|
|
oxygendecohelper.cpp
|
2009-09-15 07:12:54 +00:00
|
|
|
oxygenexceptionlist.cpp
|
2010-05-02 18:50:01 +00:00
|
|
|
oxygenfactory.cpp
|
2009-09-15 07:12:54 +00:00
|
|
|
oxygensizegrip.cpp
|
2009-12-18 15:20:04 +00:00
|
|
|
oxygentitleanimationdata.cpp
|
2009-08-22 08:24:06 +00:00
|
|
|
)
|
|
|
|
|
2012-11-23 09:09:39 +00:00
|
|
|
kde4_add_kcfg_files(kwin_oxygen_SRCS oxygenconfiguration.kcfgc )
|
|
|
|
|
2009-09-15 06:25:06 +00:00
|
|
|
kde4_add_plugin(kwin3_oxygen ${kwin_oxygen_SRCS})
|
2009-09-09 00:55:55 +00:00
|
|
|
target_link_libraries(
|
2009-09-15 06:25:06 +00:00
|
|
|
kwin3_oxygen
|
2013-08-01 18:28:43 +00:00
|
|
|
KF5::KConfigWidgets
|
2013-07-30 05:26:01 +00:00
|
|
|
KF5::KGuiAddons
|
|
|
|
KF5::KI18n
|
|
|
|
KF5::KWindowSystem
|
2013-08-07 02:41:26 +00:00
|
|
|
${KStyle_LIBRARY} # KStyle
|
2013-07-30 05:26:01 +00:00
|
|
|
${Qt5Widgets_LIBRARIES}
|
|
|
|
${Qt5X11Extras_LIBRARIES}
|
2009-09-09 00:55:55 +00:00
|
|
|
${X11_X11_LIB}
|
2013-07-30 05:26:01 +00:00
|
|
|
${XCB_XCB_LIBRARIES}
|
2009-08-22 08:24:06 +00:00
|
|
|
kdecorations
|
2010-03-02 03:40:34 +00:00
|
|
|
oxygenstyle
|
2009-08-22 08:24:06 +00:00
|
|
|
)
|
|
|
|
|
2009-09-15 06:25:06 +00:00
|
|
|
install(TARGETS kwin3_oxygen DESTINATION ${PLUGIN_INSTALL_DIR} )
|
2009-08-22 08:24:06 +00:00
|
|
|
|
|
|
|
########### install files ###############
|
2009-10-07 14:23:14 +00:00
|
|
|
install( FILES oxygenclient.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin/ )
|
2009-10-07 14:26:52 +00:00
|
|
|
|