mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 19:02:53 +00:00
24 lines
706 B
CMake
24 lines
706 B
CMake
|
|
# Project needs a name of course
|
|
project(blackboard)
|
|
|
|
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
|
include_directories(
|
|
${CMAKE_SOURCE_DIR}
|
|
${CMAKE_BINARY_DIR}
|
|
${KDE4_INCLUDES}
|
|
)
|
|
|
|
# We add our source code here
|
|
set(blackboard_SRCS blackboard.cpp blackboardwidget.cpp)
|
|
|
|
# Now make sure all files get to the right place
|
|
kde4_add_plugin(plasma_applet_blackboard ${blackboard_SRCS})
|
|
target_link_libraries(plasma_applet_blackboard
|
|
${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
|
|
|
|
install(TARGETS plasma_applet_blackboard
|
|
DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-applet-blackboard.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR})
|