aboutsummaryrefslogtreecommitdiff
path: root/lib/gumbo-parser
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gumbo-parser')
-rw-r--r--lib/gumbo-parser/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/gumbo-parser/CMakeLists.txt b/lib/gumbo-parser/CMakeLists.txt
new file mode 100644
index 0000000..801316a
--- /dev/null
+++ b/lib/gumbo-parser/CMakeLists.txt
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 3.13)
+project(gumbo-parser C)
+set(sources
+ attribute.c
+ char_ref.c
+ error.c
+ gumbo-utf8.c
+ parser.c
+ string_buffer.c
+ string_piece.c
+ tag.c
+ tokenizer.c
+ util.c
+ vector.c
+)
+add_library(${PROJECT_NAME} ${sources})
+target_include_directories(${PROJECT_NAME} PUBLIC include PRIVATE .)