2011-10-19 21:53:13 +00:00
|
|
|
include_directories( ${KDEBASE_WORKSPACE_SOURCE_DIR}/libs/oxygen)
|
2009-08-22 08:24:06 +00:00
|
|
|
|
2009-09-15 06:25:06 +00:00
|
|
|
set(kwin_oxygen_config_PART_SRCS
|
2011-07-18 05:53:41 +00:00
|
|
|
oxygenanimationconfigwidget.cpp
|
2010-05-01 23:44:27 +00:00
|
|
|
oxygenconfig.cpp
|
2012-11-26 21:36:15 +00:00
|
|
|
oxygenconfigwidget.cpp
|
2009-09-15 07:12:54 +00:00
|
|
|
oxygendetectwidget.cpp
|
|
|
|
oxygenexceptiondialog.cpp
|
|
|
|
oxygenexceptionlistwidget.cpp
|
|
|
|
oxygenexceptionmodel.cpp
|
2012-11-23 09:09:39 +00:00
|
|
|
../oxygenexceptionlist.cpp
|
2009-08-22 08:24:06 +00:00
|
|
|
)
|
|
|
|
|
2013-08-07 09:42:23 +00:00
|
|
|
kde4_add_kcfg_files(kwin_oxygen_config_PART_SRCS ../oxygenconfiguration.kcfgc)
|
2013-08-01 17:31:47 +00:00
|
|
|
|
|
|
|
set( kwin_oxygen_config_PART_FORMS
|
2010-05-24 11:30:09 +00:00
|
|
|
ui/oxygenconfigurationui.ui
|
|
|
|
ui/oxygendetectwidget.ui
|
|
|
|
ui/oxygenexceptiondialog.ui
|
|
|
|
ui/oxygenexceptionlistwidget.ui
|
2009-10-31 02:46:37 +00:00
|
|
|
)
|
2009-10-29 02:55:41 +00:00
|
|
|
|
2013-08-01 17:31:47 +00:00
|
|
|
qt5_wrap_ui(kwin_oxygen_config_PART_FORMS_HEADERS ${kwin_oxygen_config_PART_FORMS})
|
2012-11-23 09:09:39 +00:00
|
|
|
|
2013-08-01 17:31:47 +00:00
|
|
|
add_library(kwin_oxygen_config
|
|
|
|
${kwin_oxygen_config_PART_SRCS}
|
|
|
|
${kwin_oxygen_config_PART_FORMS_HEADERS})
|
2009-08-22 08:24:06 +00:00
|
|
|
|
2013-08-07 09:42:23 +00:00
|
|
|
target_link_libraries(kwin_oxygen_config Qt5::Core Qt5::Gui Qt5::Widgets Qt5::DBus)
|
|
|
|
target_link_libraries(kwin_oxygen_config KF5::KConfigCore KF5::KConfigGui KF5::KCompletion KF5::KGuiAddons KF5::KWindowSystem KF5::KI18n)
|
|
|
|
target_link_libraries(kwin_oxygen_config kdecorations oxygenstyle oxygenstyleconfig)
|
2013-08-01 17:31:47 +00:00
|
|
|
|
|
|
|
if(X11_FOUND)
|
2013-08-07 09:42:23 +00:00
|
|
|
target_link_libraries(kwin_oxygen_config ${X11_LIBRARIES})
|
|
|
|
target_link_libraries(kwin_oxygen_config Qt5::X11Extras)
|
2013-08-01 17:31:47 +00:00
|
|
|
endif()
|
2009-08-22 08:24:06 +00:00
|
|
|
|
2013-08-07 09:42:23 +00:00
|
|
|
install(TARGETS kwin_oxygen_config DESTINATION ${QT_PLUGIN_INSTALL_DIR}/kf5)
|