File: CMakeLists.txt

package info (click to toggle)
evolution 3.30.5-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 118,136 kB
  • sloc: ansic: 485,682; xml: 5,159; python: 702; makefile: 565; sh: 294; perl: 169
file content (92 lines) | stat: -rw-r--r-- 1,823 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
add_error_files(composer mail-composer.error)

install(FILES evolution-composer.ui
	DESTINATION ${uidir}
)

set(DEPENDENCIES
	econtacteditor
	econtactlisteditor
	email-engine
	evolution-mail-formatter
	evolution-shell
	evolution-util
)

set(SOURCES
	e-composer-actions.c
	e-composer-from-header.c
	e-composer-header-table.c
	e-composer-header.c
	e-composer-name-header.c
	e-composer-post-header.c
	e-composer-private.c
	e-composer-spell-header.c
	e-composer-text-header.c
	e-msg-composer.c
)

set(HEADERS
	e-composer-actions.h
	e-composer-common.h
	e-composer-from-header.h
	e-composer-header-table.h
	e-composer-header.h
	e-composer-name-header.h
	e-composer-post-header.h
	e-composer-private.h
	e-composer-spell-header.h
	e-composer-text-header.h
	e-msg-composer.h
)

add_library(evolution-mail-composer SHARED
	${SOURCES}
	${HEADERS}
)

add_dependencies(evolution-mail-composer
	${DEPENDENCIES}
)

set_target_properties(evolution-mail-composer PROPERTIES
	VERSION 0.0.0
	SOVERSION 0
)

target_compile_definitions(evolution-mail-composer PRIVATE
	-DG_LOG_DOMAIN=\"evolution-mail-composer\"
	-DEVOLUTION_UIDIR=\"${uidir}\"
)

target_compile_options(evolution-mail-composer PUBLIC
	${CERT_UI_CFLAGS}
	${EVOLUTION_DATA_SERVER_CFLAGS}
	${GNOME_PLATFORM_CFLAGS}
)

target_include_directories(evolution-mail-composer PUBLIC
	${CMAKE_BINARY_DIR}
	${CMAKE_BINARY_DIR}/src
	${CMAKE_SOURCE_DIR}/src
	${CMAKE_CURRENT_BINARY_DIR}
	${ENCHANT_INCLUDE_DIRS}
	${CERT_UI_INCLUDES}
	${EVOLUTION_DATA_SERVER_INCLUDE_DIRS}
	${GNOME_PLATFORM_INCLUDE_DIRS}
)

target_link_libraries(evolution-mail-composer
	${DEPENDENCIES}
	${CERT_UI_LIBS}
	${EVOLUTION_DATA_SERVER_LDFLAGS}
	${GNOME_PLATFORM_LDFLAGS}
)

install(TARGETS evolution-mail-composer
	DESTINATION ${privsolibdir}
)

install(FILES ${HEADERS}
	DESTINATION ${privincludedir}/composer
)