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
6273c1f7
Commit
6273c1f7
authored
Jul 17, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable Qt and Protobuf example by default
parent
279c4840
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
configure
configure
+8
-6
examples/CMakeLists.txt
examples/CMakeLists.txt
+2
-2
No files found.
configure
View file @
6273c1f7
...
@@ -56,14 +56,16 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
...
@@ -56,14 +56,16 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
--warnings-as-errors build with '-Werror'
--warnings-as-errors build with '-Werror'
--with-ccache use ccache to improve build performance
--with-ccache use ccache to improve build performance
Additional Examples:
--with-qt-examples include Qt example(s)
--with-protobuf-examples include Google Protobuf example(s)
Installation Directories:
Installation Directories:
--prefix=PREFIX installation directory [/usr/local]
--prefix=PREFIX installation directory [/usr/local]
Remove Standard Features (even if all dependencies are available):
Remove Standard Features (even if all dependencies are available):
--no-memory-management build without memory management
--no-memory-management build without memory management
--no-examples build without examples
--no-examples build without examples
--no-qt-examples build without Qt examples
--no-protobuf-examples build without Google Protobuf examples
--no-curl-examples build without libcurl examples
--no-curl-examples build without libcurl examples
--no-unit-tests build without unit tests
--no-unit-tests build without unit tests
--no-opencl build without OpenCL module
--no-opencl build without OpenCL module
...
@@ -338,11 +340,11 @@ while [ $# -ne 0 ]; do
...
@@ -338,11 +340,11 @@ while [ $# -ne 0 ]; do
--no-examples
)
--no-examples
)
append_cache_entry CAF_NO_EXAMPLES BOOL
yes
append_cache_entry CAF_NO_EXAMPLES BOOL
yes
;;
;;
--
no
-qt-examples
)
--
with
-qt-examples
)
append_cache_entry CAF_
NO
_QT_EXAMPLES BOOL
yes
append_cache_entry CAF_
BUILD
_QT_EXAMPLES BOOL
yes
;;
;;
--
no
-protobuf-examples
)
--
with
-protobuf-examples
)
append_cache_entry CAF_
NO
_PROTOBUF_EXAMPLES BOOL
yes
append_cache_entry CAF_
BUILD
_PROTOBUF_EXAMPLES BOOL
yes
;;
;;
--no-curl-examples
)
--no-curl-examples
)
append_cache_entry CAF_NO_CURL_EXAMPLES BOOL
yes
append_cache_entry CAF_NO_CURL_EXAMPLES BOOL
yes
...
...
examples/CMakeLists.txt
View file @
6273c1f7
...
@@ -53,7 +53,7 @@ add(remoting distributed_calculator)
...
@@ -53,7 +53,7 @@ add(remoting distributed_calculator)
add
(
broker simple_broker
)
add
(
broker simple_broker
)
add
(
broker simple_http_broker
)
add
(
broker simple_http_broker
)
if
(
NOT CAF_NO
_PROTOBUF_EXAMPLES
)
if
(
CAF_BUILD
_PROTOBUF_EXAMPLES
)
find_package
(
Protobuf
)
find_package
(
Protobuf
)
if
(
PROTOBUF_FOUND AND PROTOBUF_PROTOC_EXECUTABLE
)
if
(
PROTOBUF_FOUND AND PROTOBUF_PROTOC_EXECUTABLE
)
PROTOBUF_GENERATE_CPP
(
ProtoSources ProtoHeaders
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/remoting/pingpong.proto"
)
PROTOBUF_GENERATE_CPP
(
ProtoSources ProtoHeaders
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/remoting/pingpong.proto"
)
...
@@ -66,7 +66,7 @@ if(NOT CAF_NO_PROTOBUF_EXAMPLES)
...
@@ -66,7 +66,7 @@ if(NOT CAF_NO_PROTOBUF_EXAMPLES)
endif
(
PROTOBUF_FOUND AND PROTOBUF_PROTOC_EXECUTABLE
)
endif
(
PROTOBUF_FOUND AND PROTOBUF_PROTOC_EXECUTABLE
)
endif
()
endif
()
if
(
NOT CAF_NO
_QT_EXAMPLES
)
if
(
CAF_BUILD
_QT_EXAMPLES
)
find_package
(
Qt5 COMPONENTS Core Gui Widgets QUIET
)
find_package
(
Qt5 COMPONENTS Core Gui Widgets QUIET
)
if
(
Qt5_FOUND
)
if
(
Qt5_FOUND
)
message
(
STATUS
"Found Qt5"
)
message
(
STATUS
"Found Qt5"
)
...
...
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