~ubuntu-branches/ubuntu/saucy/cairo-dock-plug-ins/saucy

« back to all changes in this revision

Viewing changes to Remote-Control/src/CMakeLists.txt

Tags: upstream-2.2.0~2
ImportĀ upstreamĀ versionĀ 2.2.0~2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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-session.c                        applet-session.h
 
9
        applet-icon-finder.c            applet-icon-finder.h
 
10
        applet-notifications.c          applet-notifications.h
 
11
)
 
12
 
 
13
add_library(${PACKAGE_REMOTE_CONTROL} SHARED ${MODULE_SRCS})
 
14
 
 
15
########### compil ###############
 
16
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${remote_controldatadir}")
 
17
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
18
add_definitions (-DMY_APPLET_CONF_FILE="Remote-Control.conf")
 
19
add_definitions (-DMY_APPLET_USER_DATA_DIR="Remote-Control")
 
20
add_definitions (-DMY_APPLET_VERSION="${VERSION_REMOTE_CONTROL}")
 
21
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_REMOTE_CONTROL}")
 
22
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
23
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
 
24
### uncomment the following line to allow multi-instance applet.
 
25
#add_definitions (-DCD_APPLET_MULTI_INSTANCE="1")
 
26
### uncomment the following line to allow extended OpenGL drawing.
 
27
#add_definitions (-DGL_GLEXT_PROTOTYPES="1")
 
28
 
 
29
include_directories (
 
30
        ${PACKAGE_INCLUDE_DIRS})
 
31
 
 
32
link_directories (
 
33
        ${PACKAGE_LIBRARY_DIRS})
 
34
 
 
35
target_link_libraries (${PACKAGE_REMOTE_CONTROL}
 
36
        ${PACKAGE_LIBRARIES})
 
37
 
 
38
########### install files ###############
 
39
 
 
40
install(TARGETS ${PACKAGE_REMOTE_CONTROL} DESTINATION ${pluginsdir})