using cmake to build project and submodules

This commit is contained in:
2021-10-18 17:20:39 +01:00
parent aff6d66622
commit 2faa518b32
52 changed files with 356 additions and 119 deletions

View File

@@ -0,0 +1,14 @@
include(FetchContent)
FetchContent_Declare(
logc
GIT_REPOSITORY "https://github.com/Tropicananass/log.c.git"
)
FetchContent_Declare(
ws
GIT_REPOSITORY "https://github.com/Tropicananass/wsServer.git"
)
# add the log.c and ws libraries
FetchContent_MakeAvailable(logc ws)