testing init

This commit is contained in:
2026-06-10 16:38:51 +03:00
parent 3079fd5f59
commit 4eca54e1c7
6 changed files with 31 additions and 0 deletions
+9
View File
@@ -6,6 +6,8 @@ project(ZBBSServer
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(TARGET_GROUP production CACHE STRING "Group to build")
# Uncomment if you need to use PostgresQL
option(USE_POSTGRESQL "Use PostgreSQL instead of SQLite" OFF)
@@ -38,6 +40,13 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
add_subdirectory(src)
if(TARGET_GROUP STREQUAL test)
include(CTest)
add_subdirectory(external)
add_subdirectory(test)
endif()
install(
TARGETS zbbs-server
)