aboutsummaryrefslogtreecommitdiff
path: root/examples/hello/CMakeLists.txt
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-06 16:43:57 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-09 00:32:13 +0200
commit4ee88984fcca86c5b0c9c4bbb7e9148c7d2fe9db (patch)
treeaa4ab670afd116e419a9661bd266e7c3d0b56dc4 /examples/hello/CMakeLists.txt
parent83b8b8c2b3622ff7dfc46adf25b6723f1abfb0b5 (diff)
downloadlibweb-4ee88984fcca86c5b0c9c4bbb7e9148c7d2fe9db.tar.gz
Add hello world example
Diffstat (limited to 'examples/hello/CMakeLists.txt')
-rw-r--r--examples/hello/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/hello/CMakeLists.txt b/examples/hello/CMakeLists.txt
new file mode 100644
index 0000000..c22ab33
--- /dev/null
+++ b/examples/hello/CMakeLists.txt
@@ -0,0 +1,4 @@
+cmake_minimum_required(VERSION 3.13)
+project(hello C)
+add_executable(hello main.c)
+target_link_libraries(${PROJECT_NAME} PRIVATE slweb dynstr)