blob: 3d67ed3d793a88dd0cd5b7f4d54e5c8a613d4da3 (
plain)
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
|
include_directories(
${CMAKE_SOURCE_DIR}/liblodepng
${CMAKE_SOURCE_DIR}/libmscgen
${GENERATED_SRC}
)
add_library(mscgen
gd.c
gd_security.c
gdfontt.c
gdtables.c
gd_color.c
gdfonts.c
gdhelpers.c
gd_lodepng.c
mscgen_adraw.c
mscgen_gd_out.c
mscgen_ps_out.c
mscgen_null_out.c
${GENERATED_SRC}/mscgen_language.cpp
${GENERATED_SRC}/mscgen_lexer.cpp
mscgen_api.c
mscgen_msc.c
mscgen_safe.c
mscgen_svg_out.c
mscgen_usage.c
mscgen_utf8.c
)
FLEX_TARGET(mscgen_lexer
mscgen_lexer.l
${GENERATED_SRC}/mscgen_lexer.cpp
COMPILE_FLAGS "${LEX_FLAGS}")
BISON_TARGET(mscgen_language
mscgen_language.y
${GENERATED_SRC}/mscgen_language.cpp
COMPILE_FLAGS "${YACC_FLAGS}")
|