Skip to content
Snippets Groups Projects
Commit 8dfa757a authored by deuce's avatar deuce
Browse files

Add SBBS3 project to top-level build.

parent a1eb3c7c
Branches
Tags
No related merge requests found
...@@ -3,12 +3,30 @@ project (Synchronet C CXX) ...@@ -3,12 +3,30 @@ project (Synchronet C CXX)
cmake_minimum_required(VERSION 2.8.11) cmake_minimum_required(VERSION 2.8.11)
if(NOT PROJECTS) if(NOT PROJECTS)
SET(PROJECTS SyncTERM;SyncDraw;SExPOTS;Tone;SMBLib CACHE STRING "Choose the projects to build, options are: SyncTERM" FORCE) SET(PROJECTS SyncTERM;SyncDraw;SExPOTS;Tone;SMBLib;SBBS3 CACHE STRING "Choose the projects to build, options are: SyncTERM" FORCE)
if(WIN32) if(WIN32)
list(APPEND PROJECTS CIOXtrn) list(APPEND PROJECTS CIOXtrn)
endif() endif()
endif() endif()
list(FIND PROJECTS SBBS3 BUILD_SBBS3)
if(BUILD_SBBS3 GREATER -1)
if(NOT XPDEV_ADDED)
add_subdirectory(xpdev)
set(XPDEV_ADDED TRUE)
endif()
if(NOT CONIO_ADDED)
add_subdirectory(conio)
set(CONIO_ADDED TRUE)
endif()
if(NOT UIFC_ADDED)
add_subdirectory(uifc)
set(UIFC_ADDED TRUE)
endif()
list(APPEND PROJECTS SMBLib)
add_subdirectory(sbbs3)
endif()
list(FIND PROJECTS SyncTERM BUILD_SYNCTERM) list(FIND PROJECTS SyncTERM BUILD_SYNCTERM)
if(BUILD_SYNCTERM GREATER -1) if(BUILD_SYNCTERM GREATER -1)
if(NOT XPDEV_ADDED) if(NOT XPDEV_ADDED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment