aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-01-09 01:22:54 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-02-28 01:43:56 +0100
commitd26f046fc9149693a6ebc28301ccc3581c0f144e (patch)
tree9da22edd4840304d6cd19a27efab58ce245985aa /CMakeLists.txt
downloadslcl-d26f046fc9149693a6ebc28301ccc3581c0f144e.tar.gz
Initial commit
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..f233ede
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,18 @@
+cmake_minimum_required(VERSION 3.13)
+project(slcl)
+add_executable(${PROJECT_NAME}
+ auth.c
+ base64.c
+ handler.c
+ html.c
+ http.c
+ jwt.c
+ main.c
+ page.c
+ server.c
+)
+target_compile_options(${PROJECT_NAME} PRIVATE -Wall)
+add_subdirectory(dynstr)
+find_package(cJSON 1.0 REQUIRED)
+find_package(OpenSSL 3.0 REQUIRED)
+target_link_libraries(${PROJECT_NAME} PRIVATE dynstr cjson OpenSSL::SSL)