Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
8581de85
Commit
8581de85
authored
Aug 04, 2014
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build shell as submodule
parent
3f6a0784
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
.gitmodules
.gitmodules
+3
-0
CMakeLists.txt
CMakeLists.txt
+18
-0
shell
shell
+1
-0
No files found.
.gitmodules
View file @
8581de85
...
...
@@ -10,3 +10,6 @@
[submodule "probe"]
path = probe
url = https://github.com/actor-framework/probe.git
[submodule "shell"]
path = shell
url = https://github.com/actor-framework/shell
CMakeLists.txt
View file @
8581de85
...
...
@@ -261,6 +261,21 @@ else()
# make sure variable is set for build log
set
(
CAF_NO_NEXUS yes
)
endif
()
# build shell if not being told otherwise
if
(
NOT CAF_NO_SHELL AND EXISTS
"
${
CMAKE_SOURCE_DIR
}
/shell/caf/"
)
if
(
NOT CAF_HAS_PROBE_EVENTS
)
message
(
WARNING
"cannot build shell: probe-event submodule missing"
)
set
(
CAF_NO_SHELL yes
)
else
()
message
(
STATUS
"Enter subdirectory shell"
)
add_subdirectory
(
shell
)
add_dependencies
(
shell libcaf_io
)
set
(
CAF_NO_SHELL no
)
endif
()
else
()
# make sure variable is set for build log
set
(
CAF_NO_SHELL yes
)
endif
()
# build probe if not being told otherwise
if
(
NOT CAF_NO_PROBE AND EXISTS
"
${
CMAKE_SOURCE_DIR
}
/probe/caf/"
)
if
(
NOT CAF_HAS_PROBE_EVENTS
)
...
...
@@ -337,6 +352,8 @@ endmacro()
invertYesNo
(
CAF_NO_EXAMPLES CAF_BUILD_EXAMPLES
)
invertYesNo
(
CAF_NO_UNIT_TESTS CAF_BUILD_UNIT_TESTS
)
invertYesNo
(
CAF_NO_NEXUS CAF_BUILD_NEXUS
)
invertYesNo
(
CAF_NO_PROBE CAF_BUILD_PROBE
)
invertYesNo
(
CAF_NO_SHELL CAF_BUILD_SHELL
)
invertYesNo
(
CAF_NO_MEM_MANAGEMENT CAF_BUILD_MEM_MANAGEMENT
)
invertYesNo
(
CAF_NO_BENCHMARKS CAF_BUILD_BENCHMARKS
)
# collect all compiler flags
...
...
@@ -358,6 +375,7 @@ message(STATUS
"
\n
Build examples:
${
CAF_BUILD_EXAMPLES
}
"
"
\n
Build unit tests:
${
CAF_BUILD_UNIT_TESTS
}
"
"
\n
Build nexus:
${
CAF_BUILD_NEXUS
}
"
"
\n
Build shell:
${
CAF_BUILD_SHELL
}
"
"
\n
Build probe:
${
CAF_BUILD_PROBE
}
"
"
\n
Build benchmarks:
${
CAF_BUILD_BENCHMARKS
}
"
"
\n
"
...
...
shell
@
c5f1e48d
Subproject commit c5f1e48d5adda1b5aa0b92d0e18bde69166c1705
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment