Debian Codegraph @

Folders/src/CMakeLists.txt

raw
1
2 ########### sources ###############
3
4 SET(MODULE_SRCS
5 applet-struct.h
6 applet-init.c applet-init.h
7 applet-config.c applet-config.h
8 applet-load-icons.c applet-load-icons.h
9 applet-notifications.c applet-notifications.h
10 )
11
12 add_library(${PACKAGE_FOLDERS} SHARED ${MODULE_SRCS})
13
14 ########### compil ###############
15 add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${foldersdatadir}")
16 add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
17 add_definitions (-DMY_APPLET_CONF_FILE="Folders.conf")
18 add_definitions (-DMY_APPLET_USER_DATA_DIR="Folders")
19 add_definitions (-DMY_APPLET_VERSION="${VERSION_FOLDERS}")
20 add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_FOLDERS}")
21 add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
22 add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
23 add_definitions (-DCD_APPLET_MULTI_INSTANCE="1")
24 ### uncomment the following line to allow extended OpenGL drawing.
25 #add_definitions (-DGL_GLEXT_PROTOTYPES="1")
26
27 include_directories (
28 ${PACKAGE_INCLUDE_DIRS})
29
30 link_directories (
31 ${PACKAGE_LIBRARY_DIRS})
32
33 target_link_libraries (${PACKAGE_FOLDERS}
34 ${PACKAGE_LIBRARIES})
35
36 ########### install files ###############
37
38 install(TARGETS ${PACKAGE_FOLDERS} DESTINATION ${pluginsdir})