2009-08-22 08:24:06 +00:00
|
|
|
########### add version number into compilation defines
|
2014-03-20 12:03:04 +00:00
|
|
|
add_definitions (-DAPP_VERSION=\\\"${KWIN_VERSION}\\\")
|
2013-08-07 09:42:23 +00:00
|
|
|
add_definitions(-DHAVE_X11=${X11_FOUND})
|
2013-08-01 18:20:44 +00:00
|
|
|
add_subdirectory(config)
|
|
|
|
add_subdirectory(demo)
|
|
|
|
add_subdirectory(data)
|
2011-01-29 18:12:23 +00:00
|
|
|
|
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
|
|
|
)
|
|
|
|
|
2013-10-18 11:55:16 +00:00
|
|
|
kconfig_add_kcfg_files(kwin_oxygen_SRCS oxygenconfiguration.kcfgc )
|
2012-11-23 09:09:39 +00:00
|
|
|
|
2013-11-13 16:31:38 +00:00
|
|
|
add_library(kwin3_oxygen MODULE ${kwin_oxygen_SRCS})
|
2013-08-07 09:42:23 +00:00
|
|
|
target_link_libraries(kwin3_oxygen Qt5::Widgets )
|
2014-02-21 09:48:24 +00:00
|
|
|
target_link_libraries(kwin3_oxygen KF5::I18n KF5::WindowSystem KF5::Style KF5::Service)
|
2013-11-13 16:31:38 +00:00
|
|
|
|
2013-11-13 09:11:27 +00:00
|
|
|
target_link_libraries(kwin3_oxygen kdecorations)
|
2013-11-13 16:31:38 +00:00
|
|
|
|
|
|
|
target_link_libraries(kwin3_oxygen oxygenstyle)
|
2013-08-07 09:42:23 +00:00
|
|
|
|
2014-03-12 13:53:43 +00:00
|
|
|
kservice_desktop_to_json(kwin3_oxygen oxygenclient.desktop)
|
|
|
|
|
2013-08-07 09:42:23 +00:00
|
|
|
if(X11_FOUND)
|
2014-02-25 14:48:39 +00:00
|
|
|
target_link_libraries(kwin3_oxygen XCB::XCB)
|
2013-08-07 09:42:23 +00:00
|
|
|
endif()
|
2009-08-22 08:24:06 +00:00
|
|
|
|
2014-03-12 13:53:43 +00:00
|
|
|
install(TARGETS kwin3_oxygen DESTINATION ${PLUGIN_INSTALL_DIR}/kwin/kdecorations)
|