aboutsummaryrefslogtreecommitdiff
path: root/lib/gumbo-parser
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-05 01:52:47 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-05 02:17:54 +0200
commit31c7b6b737c5e48e5c16debb8d7b0e80feb6586e (patch)
treeea19c24e9a95c00e73ae2f9e8e138d794078da76 /lib/gumbo-parser
parent659a1448146f4599755fd0b059b25567fa7d60f5 (diff)
downloadkristall-31c7b6b737c5e48e5c16debb8d7b0e80feb6586e.tar.gz
Add CMake-based build system
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 .)