Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
16
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
cellframe
cellframe-sdk
Commits
9190144d
Commit
9190144d
authored
3 years ago
by
Evgeniy
Browse files
Options
Downloads
Patches
Plain Diff
[+] Add seting CELLFERAME_MODULES if its not set
For example, if SDK compiles stand-alone.
parent
9bc79e27
No related branches found
No related tags found
11 merge requests
!439
feature 4930
,
!437
feature 4930
,
!435
Feature 4930
,
!434
Feature 5344
,
!433
Feature 5344
,
!432
Feature 5220
,
!431
Feature 5220
,
!430
Feature 5220
,
!428
bugs-5311
,
!412
feature-2912
,
!404
feature-3848
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+16
-0
16 additions, 0 deletions
CMakeLists.txt
with
16 additions
and
0 deletions
CMakeLists.txt
+
16
−
0
View file @
9190144d
...
...
@@ -5,6 +5,22 @@ set(CMAKE_C_STANDARD 11)
set
(
CELLFRAME_SDK_NATIVE_VERSION
"3.1-0"
)
add_definitions
(
"-DCELLFRAME_SDK_VERSION=
\"
${
CELLFRAME_SDK_NATIVE_VERSION
}
\"
"
)
set
(
DAPSDK_MODULES
""
)
if
(
NOT DEFINED
${
CELLFRAME_MODULES
}
)
include
(
cmake/OS_Detection.cmake
)
if
(
WIN32
)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-dag-poa cs-block-poa cs-dag-pos cs-block-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange"
)
elseif
(
BSD
)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-dag-poa cs-block-poa cs-dag-pos cs-block-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange"
)
elseif
(
DARWIN
)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-dag-poa cs-block-poa cs-dag-pos cs-block-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange"
)
elseif
(
ANDROID
)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-dag-poa cs-block-poa cs-dag-pos cs-block-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange"
)
elseif
(
LINUX
)
set
(
CELLFRAME_MODULES
"core chains mining network srv cs-dag-poa cs-block-poa cs-dag-pos cs-block-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange modules-dynamic srv-vpn"
)
endif
()
endif
()
message
(
"Cellframe modules:
${
CELLFRAME_MODULES
}
"
)
if
(
CELLFRAME_MODULES MATCHES
"modules-dynamic"
)
...
...
This diff is collapsed.
Click to expand it.
Evgeniy Kramsakov
@evgeniy.kramsakov
mentioned in commit
cc335b67
·
3 years ago
mentioned in commit
cc335b67
mentioned in commit cc335b67bf48c80000f72cb7d0b2d605c0dbd326
Toggle commit list
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