~ubuntu-branches/ubuntu/oneiric/cairo-dock-plug-ins/oneiric-updates

« back to all changes in this revision

Viewing changes to Impulse/src/CMakeLists.txt

  • Committer: Kees Cook
  • Date: 2011-08-11 23:17:39 UTC
  • mfrom: (20.1.1 cairo-dock-plug-ins)
  • Revision ID: kees@outflux.net-20110811231739-cteedan51tmdg77v
Tags: 2.4.0~0beta2-0ubuntu1
releasing version 2.4.0~0beta2-0ubuntu1

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-notifications.c          applet-notifications.h
 
9
        Impulse.c                       Impulse.h
 
10
        applet-impulse.c                applet-impulse.h
 
11
)
 
12
 
 
13
add_library(${PACKAGE_IMPULSE} SHARED ${MODULE_SRCS})
 
14
 
 
15
########### compil ###############
 
16
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${impulsedatadir}")
 
17
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
18
add_definitions (-DMY_APPLET_CONF_FILE="Impulse.conf")
 
19
add_definitions (-DMY_APPLET_USER_DATA_DIR="Impulse")
 
20
add_definitions (-DMY_APPLET_VERSION="${VERSION_IMPULSE}")
 
21
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_IMPULSE}")
 
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
        ${IMPULSE_PACKAGES_INCLUDE_DIRS})
 
32
 
 
33
link_directories (
 
34
        ${PACKAGE_LIBRARY_DIRS}
 
35
        ${IMPULSE_PACKAGES_LIBRARY_DIRS})
 
36
 
 
37
target_link_libraries (${PACKAGE_IMPULSE}
 
38
        ${PACKAGE_LIBRARIES}
 
39
        ${IMPULSE_PACKAGES_LIBRARIES})
 
40
 
 
41
########### install files ###############
 
42
 
 
43
install(TARGETS ${PACKAGE_IMPULSE} DESTINATION ${pluginsdir})