File: CMakeLists.txt

package info (click to toggle)
kdeplasma-addons 4%3A4.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 8,792 kB
  • ctags: 7,686
  • sloc: cpp: 61,927; python: 1,240; xml: 795; sh: 77; makefile: 4
file content (29 lines) | stat: -rw-r--r-- 1,121 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Project Needs a name ofcourse
project(plasmaboard)
	 
# Find the required Libaries
find_package(KDE4 REQUIRED)
include(KDE4Defaults)
	 
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories(
   ${CMAKE_SOURCE_DIR}
   ${CMAKE_BINARY_DIR}
   ${KDE4_INCLUDES}
   )
	 
# We add our source code here
set(plasmaboard_SRCS widget.cpp BoardKey.cpp PanelIcon.cpp AlphaNumKey.cpp FuncKey.cpp EnterKey.cpp BackspaceKey.cpp TabKey.cpp ShiftKey.cpp CapsKey.cpp ArrowTopKey.cpp ArrowBottomKey.cpp ArrowLeftKey.cpp ArrowRightKey.cpp tooltip.cpp)
	 
# Now make sure all files get to the right place
kde4_add_plugin(plasma_applet_plasmaboard ${plasmaboard_SRCS})
target_link_libraries(plasma_applet_plasmaboard 
                ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} kephal plasmaclock ${X11_XTest_LIB} ${X11_X11_LIB} ${X11_LIBS})
 
install(TARGETS plasma_applet_plasmaboard DESTINATION ${PLUGIN_INSTALL_DIR})
 
install(FILES plasma_applet_plasmaboard.desktop
        DESTINATION ${SERVICES_INSTALL_DIR})
        
#install(FILES plasmaboard_key.svg
#	DESTINATION ${DATA_INSTALL_DIR}/desktoptheme/default/widgets/)