~cairo-dock-team/ubuntu/quantal/cairo-dock-plug-ins/3.0.2

« back to all changes in this revision

Viewing changes to quick-browser/src/CMakeLists.txt

Tags: upstream-2.2.0~0beta4
ImportĀ upstreamĀ versionĀ 2.2.0~0beta4

Show diffs side-by-side

added added

removed removed

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