Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
ec96bacc
Commit
ec96bacc
authored
11 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Fix up... submakes should have their own includes sorted out.
parent
0fbbb703
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/CMakeLists.txt
+19
-9
19 additions, 9 deletions
src/CMakeLists.txt
with
19 additions
and
9 deletions
src/CMakeLists.txt
+
19
−
9
View file @
ec96bacc
...
...
@@ -3,7 +3,7 @@ project (Synchronet C CXX)
cmake_minimum_required
(
VERSION 2.8.11
)
if
(
NOT PROJECTS
)
SET
(
PROJECTS SyncTERM;SyncDraw;SExPOTS CACHE STRING
"Choose the projects to build, options are: SyncTERM"
FORCE
)
SET
(
PROJECTS SyncTERM;SyncDraw;SExPOTS
;Tone;SMBLib
CACHE STRING
"Choose the projects to build, options are: SyncTERM"
FORCE
)
if
(
WIN32
)
list
(
APPEND PROJECTS CIOXtrn
)
endif
()
...
...
@@ -12,17 +12,14 @@ endif()
list
(
FIND PROJECTS SyncTERM BUILD_SYNCTERM
)
if
(
BUILD_SYNCTERM GREATER -1
)
if
(
NOT XPDEV_ADDED
)
include_directories
(
xpdev
)
add_subdirectory
(
xpdev
)
set
(
XPDEV_ADDED TRUE
)
endif
()
if
(
NOT CONIO_ADDED
)
include_directories
(
conio
)
add_subdirectory
(
conio
)
set
(
CONIO_ADDED TRUE
)
endif
()
if
(
NOT UIFC_ADDED
)
include_directories
(
uifc
)
add_subdirectory
(
uifc
)
set
(
UIFC_ADDED TRUE
)
endif
()
...
...
@@ -32,12 +29,10 @@ endif()
list
(
FIND PROJECTS SyncDraw BUILD_SYNCDRAW
)
if
(
BUILD_SYNCDRAW GREATER -1
)
if
(
NOT XPDEV_ADDED
)
include_directories
(
xpdev
)
add_subdirectory
(
xpdev
)
set
(
XPDEV_ADDED TRUE
)
endif
()
if
(
NOT CONIO_ADDED
)
include_directories
(
conio
)
add_subdirectory
(
conio
)
set
(
CONIO_ADDED TRUE
)
endif
()
...
...
@@ -47,22 +42,37 @@ endif()
list
(
FIND PROJECTS SExPOTS BUILD_SEXPOTS
)
if
(
BUILD_SEXPOTS GREATER -1
)
if
(
NOT XPDEV_ADDED
)
include_directories
(
xpdev
)
add_subdirectory
(
xpdev
)
set
(
XPDEV_ADDED TRUE
)
endif
()
add_subdirectory
(
sexpots
)
endif
()
list
(
FIND PROJECTS Tone BUILD_TONE
)
if
(
BUILD_TONE GREATER -1
)
if
(
NOT XPDEV_ADDED
)
add_subdirectory
(
xpdev
)
set
(
XPDEV_ADDED TRUE
)
endif
()
add_subdirectory
(
tone
)
endif
()
list
(
FIND PROJECTS SMBLib BUILD_SMBLIB
)
if
(
BUILD_SMBLIB GREATER -1
)
if
(
NOT XPDEV_ADDED
)
add_subdirectory
(
xpdev
)
set
(
XPDEV_ADDED TRUE
)
endif
()
add_subdirectory
(
smblib
)
endif
()
list
(
FIND PROJECTS CIOXtrn BUILD_CIOXTRN
)
if
(
BUILD_CIOXTRN GREATER -1
)
if
(
NOT XPDEV_ADDED
)
include_directories
(
xpdev
)
add_subdirectory
(
xpdev
)
set
(
XPDEV_ADDED TRUE
)
endif
()
if
(
NOT CONIO_ADDED
)
include_directories
(
conio
)
add_subdirectory
(
conio
)
set
(
CONIO_ADDED TRUE
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment