forked from litehtml/litehtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
62 lines (56 loc) · 2.05 KB
/
CMakeLists.txt
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
cmake_minimum_required(VERSION 2.8)
project(litehtml)
set(CMAKE_CXX_FLAGS_DEBUG "-std=c++11 -O0 -DDEBUG -g")
set(CMAKE_C_FLAGS_DEBUG "-std=c99 -O0 -DDEBUG -g")
set(CMAKE_CXX_FLAGS_RELEASE "-std=c++11 -O3")
set(CMAKE_C_FLAGS_RELEASE "-std=c99 -O3")
set(SOURCE_LITEHTML src/background.cpp
src/box.cpp
src/context.cpp
src/css_length.cpp
src/css_selector.cpp
src/document.cpp
src/el_anchor.cpp
src/el_base.cpp
src/el_before_after.cpp
src/el_body.cpp
src/el_break.cpp
src/el_cdata.cpp
src/el_comment.cpp
src/el_div.cpp
src/element.cpp
src/el_font.cpp
src/el_image.cpp
src/el_link.cpp
src/el_para.cpp
src/el_script.cpp
src/el_space.cpp
src/el_style.cpp
src/el_table.cpp
src/el_td.cpp
src/el_text.cpp
src/el_title.cpp
src/el_tr.cpp
src/html.cpp
src/html_tag.cpp
src/iterators.cpp
src/media_query.cpp
src/style.cpp
src/stylesheet.cpp
src/table.cpp
src/utf8_strings.cpp
src/web_color.cpp
)
set(SOURCE_GUMBO src/gumbo/attribute.c
src/gumbo/char_ref.c
src/gumbo/error.c
src/gumbo/parser.c
src/gumbo/string_buffer.c
src/gumbo/string_piece.c
src/gumbo/tag.c
src/gumbo/tokenizer.c
src/gumbo/utf8.c
src/gumbo/util.c
src/gumbo/vector.c
)
add_library(litehtml STATIC ${SOURCE_LITEHTML} ${SOURCE_GUMBO})