~didrocks/cairo-dock-plug-ins/fix-abi-transition

« back to all changes in this revision

Viewing changes to show-mouse/src/CMakeLists.txt

  • Committer: matttbe
  • Date: 2010-08-07 01:43:25 UTC
  • Revision ID: matttbe@gmail.com-20100807014325-36tmlrc8n1rrksk5
* New Upstream Version (LP: #614625)
* debian/rules:
 - Autotools has been replaced by CMake
 - cdbs is now used.
* debian/copyright:
 - Updated with the new applets
* debian/control:
 - Autotools has been replaced by CMake
 - Added libcurl4-gnutls-dev, libindicator-dev, libdbusmenu-glib-dev
   libido-0.1-dev, libical-dev, libdbusmenu-gtk-dev as Build-deps
 - Bump Standard-Version to 3.9.1
 - Wget is required for dnd2share applet
* debian/cairo-dock-plug-ins*.install:
 - All sonames are now installed into lib32 or lib64 (lib*)
* Fixed a few bugs on LP:
 - LP: #483963, LP: #485159, LP: #500677, LP: #500979
 - LP: #521531, LP: #519915, LP: #526138, LP: #531317
 - LP: #531319, LP: #537115, LP: #537943, LP: #538637
 - More details on the 'ChangeLog' file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
########### sources ###############
 
3
 
 
4
SET(cd-show_mouse_LIB_SRCS
 
5
        applet-init.c
 
6
        applet-init.h
 
7
        applet-config.c
 
8
        applet-config.h
 
9
        applet-notifications.c
 
10
        applet-notifications.h
 
11
        applet-struct.h
 
12
        star-tex.h
 
13
)
 
14
 
 
15
add_library(${PACKAGE_SHOW_MOUSE} SHARED ${cd-show_mouse_LIB_SRCS})
 
16
 
 
17
########### compil ###############
 
18
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${show_mousedatadir}")
 
19
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
20
add_definitions (-DMY_APPLET_CONF_FILE="show_mouse.conf")
 
21
add_definitions (-DMY_APPLET_USER_DATA_DIR="show_mouse")
 
22
add_definitions (-DMY_APPLET_VERSION="${VERSION_SHOW_MOUSE}")
 
23
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_SHOW_MOUSE}")
 
24
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
25
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
 
26
add_definitions (-DGL_GLEXT_PROTOTYPES="1")
 
27
 
 
28
include_directories (
 
29
        ${PACKAGE_INCLUDE_DIRS})
 
30
 
 
31
link_directories (
 
32
        ${PACKAGE_LIBRARY_DIRS})
 
33
 
 
34
target_link_libraries (${PACKAGE_SHOW_MOUSE}
 
35
        ${PACKAGE_LIBRARIES})
 
36
 
 
37
########### install files ###############
 
38
 
 
39
install(TARGETS ${PACKAGE_SHOW_MOUSE} DESTINATION ${pluginsdir})
 
40
 
 
41
 
 
42
#original Makefile.am contents follow:
 
43
 
 
44
# #dnl Process this file with automake to produce Makefile.in
 
45
#
 
46
#lib_LTLIBRARIES = 
 
47
#       libcd-show_mouse.la
 
48
#
 
49
#
 
50
#libcd_show_mouse_la_SOURCES = 
 
51
#       applet-init.c
 
52
#       applet-init.h
 
53
#       applet-config.c
 
54
#       applet-config.h
 
55
#       applet-notifications.c
 
56
#       applet-notifications.h
 
57
#       applet-struct.h
 
58
#       star-tex.h
 
59
#
 
60
#
 
61
#dock_version = `pkg-config --modversion cairo-dock`
 
62
#
 
63
#libcd_show_mouse_la_CFLAGS = 
 
64
#       -I$(top_srcdir)/src
 
65
#       $(PACKAGE_CFLAGS)
 
66
#       -DMY_APPLET_SHARE_DATA_DIR=""${show_mousedatadir)""
 
67
#       -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
 
68
#       -DMY_APPLET_CONF_FILE=""show_mouse.conf""
 
69
#       -DMY_APPLET_USER_DATA_DIR=""show_mouse""
 
70
#       -DMY_APPLET_VERSION=""${VERSION_SHOW_MOUSE)""
 
71
#       -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_SHOW_MOUSE)""
 
72
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
 
73
#       -DMY_APPLET_ICON_FILE=""icon.png""
 
74
#     -DGL_GLEXT_PROTOTYPES=""1""
 
75
#       -std=c99
 
76
#       -Werror-implicit-function-declaration
 
77
##      -g -ggdb -W -Wall
 
78
#
 
79
#
 
80
#libcd_show_mouse_la_LIBADD = 
 
81
#       $(PACKAGE_LIBS) -lm
 
82
#
 
83
#
 
84
#libcd_show_mouse_la_LDFLAGS =
 
85
#       -avoid-version -module