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 (152 lines) | stat: -rw-r--r-- 3,697 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
glib_mkenums(e-mail-formatter-enumtypes e-mail-formatter-enums.h E_MAIL_FORMATTER_ENUMTYPES_H)

set(DEPENDENCIES
	email-engine
	evolution-shell
	evolution-util
)

set(SOURCES
	e-mail-extension-registry.c
	e-mail-inline-filter.c
	e-mail-formatter.c
	e-mail-formatter-print.c
	e-mail-formatter-quote.c
	e-mail-formatter-utils.c
	e-mail-formatter-attachment.c
	e-mail-formatter-audio.c
	e-mail-formatter-error.c
	e-mail-formatter-extension.c
	e-mail-formatter-headers.c
	e-mail-formatter-image.c
	e-mail-formatter-message-rfc822.c
	e-mail-formatter-secure-button.c
	e-mail-formatter-source.c
	e-mail-formatter-text-enriched.c
	e-mail-formatter-text-html.c
	e-mail-formatter-text-plain.c
	e-mail-formatter-print-headers.c
	e-mail-formatter-quote-headers.c
	e-mail-formatter-quote-message-rfc822.c
	e-mail-formatter-quote-text-enriched.c
	e-mail-formatter-quote-text-html.c
	e-mail-formatter-quote-text-plain.c
	e-mail-parser-extension.c
	e-mail-parser.c
	e-mail-parser-application-mbox.c
	e-mail-parser-audio.c
	e-mail-parser-headers.c
	e-mail-parser-image.c
	e-mail-parser-inlinepgp-encrypted.c
	e-mail-parser-inlinepgp-signed.c
	e-mail-parser-message.c
	e-mail-parser-message-deliverystatus.c
	e-mail-parser-message-external.c
	e-mail-parser-message-rfc822.c
	e-mail-parser-multipart-alternative.c
	e-mail-parser-multipart-appledouble.c
	e-mail-parser-multipart-digest.c
	e-mail-parser-multipart-encrypted.c
	e-mail-parser-multipart-mixed.c
	e-mail-parser-multipart-related.c
	e-mail-parser-multipart-signed.c
	e-mail-parser-secure-button.c
	e-mail-parser-source.c
	e-mail-parser-text-enriched.c
	e-mail-parser-text-html.c
	e-mail-parser-text-plain.c
	e-mail-part.c
	e-mail-part-attachment.c
	e-mail-part-audio.c
	e-mail-part-headers.c
	e-mail-part-image.c
	e-mail-part-list.c
	e-mail-part-secure-button.c
	e-mail-part-utils.c
	e-mail-stripsig-filter.c
	${CMAKE_CURRENT_BINARY_DIR}/e-mail-formatter-enumtypes.c
)

if(ENABLE_SMIME)
	list(APPEND DEPENDENCIES
		essmime
		evolution-smime
	)

	list(APPEND SOURCES
		e-mail-parser-application-smime.c
	)
endif(ENABLE_SMIME)

set(HEADERS
	e-mail-extension-registry.h
	e-mail-formatter-extension.h
	e-mail-formatter.h
	e-mail-formatter-enums.h
	e-mail-formatter-print.h
	e-mail-formatter-quote.h
	e-mail-formatter-utils.h
	e-mail-inline-filter.h
	e-mail-parser-extension.h
	e-mail-parser.h
	e-mail-part.h
	e-mail-part-attachment.h
	e-mail-part-audio.h
	e-mail-part-headers.h
	e-mail-part-image.h
	e-mail-part-list.h
	e-mail-part-secure-button.h
	e-mail-part-utils.h
	e-mail-stripsig-filter.h
	${CMAKE_CURRENT_BINARY_DIR}/e-mail-formatter-enumtypes.h
)

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

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

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

target_compile_definitions(evolution-mail-formatter PRIVATE
	-DG_LOG_DOMAIN=\"evolution-mail-formatter\"
	-DEVOLUTION_IMAGESDIR=\"${imagesdir}\"
	-DEVOLUTION_PRIVDATADIR=\"${privdatadir}\"
)

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

target_include_directories(evolution-mail-formatter PUBLIC
	${CMAKE_BINARY_DIR}
	${CMAKE_BINARY_DIR}/src
	${CMAKE_SOURCE_DIR}/src
	${CMAKE_CURRENT_BINARY_DIR}
	${CMAKE_SOURCE_DIR}/src/smime/lib
	${CMAKE_SOURCE_DIR}/src/smime/gui
	${EVOLUTION_DATA_SERVER_INCLUDE_DIRS}
	${GNOME_PLATFORM_INCLUDE_DIRS}
)

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

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

install(FILES ${HEADERS}
	DESTINATION ${privincludedir}/em-format
)