diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-05 01:52:47 +0200 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2023-10-02 16:36:29 +0200 |
| commit | 42022bdfd2a00ce3bc7f20b779fecd3b8fad59db (patch) | |
| tree | 135c2fd64d282f860cb46ee97a81ea4a94626441 /lib/gumbo-parser | |
| parent | 317bdbad5be96ff55ac882e3ae909bf97d36bf23 (diff) | |
Add CMake-based build system
Diffstat (limited to 'lib/gumbo-parser')
| -rw-r--r-- | lib/gumbo-parser/CMakeLists.txt | 17 |
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 .) |
