2009-08-22 08:24:06 +00:00
|
|
|
########### add version number into compilation defines
|
|
|
|
add_definitions ( -DAPP_VERSION=\\\"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\\\")
|
2009-09-09 00:55:55 +00:00
|
|
|
add_subdirectory( config )
|
2009-08-22 08:24:06 +00:00
|
|
|
|
|
|
|
########### next target ###############
|
2009-09-15 06:25:06 +00:00
|
|
|
set(kwin_oxygen_SRCS
|
2009-08-22 08:24:06 +00:00
|
|
|
lib/helper.cpp
|
|
|
|
lib/tileset.cpp
|
|
|
|
nitrogen.cpp
|
|
|
|
nitrogenbutton.cpp
|
|
|
|
nitrogenclient.cpp
|
|
|
|
nitrogenconfiguration.cpp
|
|
|
|
nitrogenexception.cpp
|
|
|
|
nitrogenexceptionlist.cpp
|
2009-09-14 19:21:39 +00:00
|
|
|
nitrogenshadowconfiguration.cpp
|
2009-09-09 00:55:55 +00:00
|
|
|
nitrogensizegrip.cpp
|
2009-08-22 08:24:06 +00:00
|
|
|
x11util.cpp
|
|
|
|
)
|
|
|
|
|
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
|
2009-09-09 00:55:55 +00:00
|
|
|
${KDE4_KDEUI_LIBS}
|
|
|
|
${X11_X11_LIB}
|
|
|
|
${X11_Xrender_LIB}
|
2009-08-22 08:24:06 +00:00
|
|
|
kdecorations
|
|
|
|
)
|
|
|
|
|
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-09-15 06:25:06 +00:00
|
|
|
install( FILES oxygenclient.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin/ )
|
2009-08-22 08:24:06 +00:00
|
|
|
|