testing init
This commit is contained in:
@@ -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
|
||||
)
|
||||
Reference in New Issue
Block a user