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
c58ee73e
Commit
c58ee73e
authored
Apr 08, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix static-only build
parent
68612de5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
CMakeLists.txt
CMakeLists.txt
+20
-4
No files found.
CMakeLists.txt
View file @
c58ee73e
...
@@ -321,7 +321,11 @@ if(NOT CAF_NO_UNIT_TESTS)
...
@@ -321,7 +321,11 @@ if(NOT CAF_NO_UNIT_TESTS)
enable_testing
()
enable_testing
()
message
(
STATUS
"Enter subdirectory unit_testing"
)
message
(
STATUS
"Enter subdirectory unit_testing"
)
add_subdirectory
(
unit_testing
)
add_subdirectory
(
unit_testing
)
if
(
NOT CAF_BUILD_STATIC_ONLY
)
add_dependencies
(
all_unit_tests libcaf_io
)
add_dependencies
(
all_unit_tests libcaf_io
)
else
()
add_dependencies
(
all_unit_tests libcaf_ioStatic
)
endif
()
if
(
NOT CAF_NO_OPENCL AND EXISTS
"
${
CMAKE_SOURCE_DIR
}
/libcaf_opencl/CMakeLists.txt"
)
if
(
NOT CAF_NO_OPENCL AND EXISTS
"
${
CMAKE_SOURCE_DIR
}
/libcaf_opencl/CMakeLists.txt"
)
add_subdirectory
(
libcaf_opencl/unit_testing
)
add_subdirectory
(
libcaf_opencl/unit_testing
)
endif
()
endif
()
...
@@ -330,10 +334,18 @@ endif()
...
@@ -330,10 +334,18 @@ endif()
if
(
NOT CAF_NO_EXAMPLES
)
if
(
NOT CAF_NO_EXAMPLES
)
message
(
STATUS
"Enter subdirectory examples"
)
message
(
STATUS
"Enter subdirectory examples"
)
add_subdirectory
(
examples
)
add_subdirectory
(
examples
)
if
(
NOT CAF_BUILD_STATIC_ONLY
)
add_dependencies
(
all_examples libcaf_io
)
add_dependencies
(
all_examples libcaf_io
)
else
()
add_dependencies
(
all_examples libcaf_ioStatic
)
endif
()
if
(
NOT CAF_NO_OPENCL AND EXISTS
"
${
CMAKE_SOURCE_DIR
}
/libcaf_opencl/CMakeLists.txt"
)
if
(
NOT CAF_NO_OPENCL AND EXISTS
"
${
CMAKE_SOURCE_DIR
}
/libcaf_opencl/CMakeLists.txt"
)
add_subdirectory
(
libcaf_opencl/examples
)
add_subdirectory
(
libcaf_opencl/examples
)
if
(
NOT CAF_BUILD_STATIC_ONLY
)
add_dependencies
(
opencl_examples libcaf_opencl
)
add_dependencies
(
opencl_examples libcaf_opencl
)
else
()
add_dependencies
(
opencl_examples libcaf_openclStatic
)
endif
()
endif
()
endif
()
endif
()
endif
()
# build RIAC if not being told otherwise
# build RIAC if not being told otherwise
...
@@ -398,7 +410,11 @@ endif()
...
@@ -398,7 +410,11 @@ endif()
if
(
NOT CAF_NO_BENCHMARKS AND EXISTS
"
${
CMAKE_SOURCE_DIR
}
/benchmarks/CMakeLists.txt"
)
if
(
NOT CAF_NO_BENCHMARKS AND EXISTS
"
${
CMAKE_SOURCE_DIR
}
/benchmarks/CMakeLists.txt"
)
message
(
STATUS
"Enter subdirectory benchmarks"
)
message
(
STATUS
"Enter subdirectory benchmarks"
)
add_subdirectory
(
benchmarks
)
add_subdirectory
(
benchmarks
)
if
(
CAF_BUILD_STATIC_ONLY
)
add_dependencies
(
all_benchmarks libcaf_ioStatic
)
else
()
add_dependencies
(
all_benchmarks libcaf_io
)
add_dependencies
(
all_benchmarks libcaf_io
)
endif
()
else
()
else
()
# make sure variable is set for build log
# make sure variable is set for build log
set
(
CAF_NO_BENCHMARKS yes
)
set
(
CAF_NO_BENCHMARKS yes
)
...
...
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