1
0
mirror of https://github.com/falk-werner/webfused synced 2026-03-02 04:09:19 +00:00

added skeleton of config

This commit is contained in:
Falk Werner
2020-03-08 16:14:55 +01:00
parent d304c843bc
commit b5943bd7b6
7 changed files with 367 additions and 7 deletions

View File

@@ -49,7 +49,10 @@ target_include_directories(userdb PUBLIC
target_compile_options(userdb PUBLIC ${OPENSSL_CFLAGS_OTHER})
add_library(webfused-static STATIC
src/webfused/daemon.c)
src/webfused/daemon.c
src/webfused/config/config.c
src/webfused/config/factory.c
)
add_executable(webfused
src/webfused/main.c
@@ -113,6 +116,7 @@ target_include_directories(alltests PRIVATE
target_compile_options(alltests PRIVATE ${GMOCK_CFLAGS} ${GTEST_CFLAGS} "-pthread")
target_link_libraries(alltests PRIVATE
webfused-static
${LIBCONFIG_LIBRARIES}
${GMOCK_LIBRARIES}
${GTEST_LIBRARIES}