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
f52deca7
Commit
f52deca7
authored
Sep 06, 2019
by
Tobias Mayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add backward compatibility shims for cmake targets
parent
377e862d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
0 deletions
+27
-0
CMakeLists.txt
CMakeLists.txt
+7
-0
libcaf_core/CMakeLists.txt
libcaf_core/CMakeLists.txt
+5
-0
libcaf_io/CMakeLists.txt
libcaf_io/CMakeLists.txt
+5
-0
libcaf_opencl/CMakeLists.txt
libcaf_opencl/CMakeLists.txt
+5
-0
libcaf_openssl/CMakeLists.txt
libcaf_openssl/CMakeLists.txt
+5
-0
No files found.
CMakeLists.txt
View file @
f52deca7
...
...
@@ -18,6 +18,13 @@ if(WIN32)
set
(
CAF_LINKAGE_DEFAULT_SHARED OFF
)
endif
()
option
(
BUILD_SHARED_LIBS
""
${
CAF_LINKAGE_DEFAULT_SHARED
}
)
if
(
DEFINED CAF_BUILD_STATIC OR DEFINED CAF_BUILD_STATIC_ONLY
)
if
(
CAF_BUILD_STATIC OR CAF_BUILD_STATIC_ONLY
)
set
(
BUILD_SHARED_LIBS OFF
)
else
()
set
(
BUILD_SHARED_LIBS ON
)
endif
()
endif
()
if
(
BUILD_SHARED_LIBS
)
set
(
LINK_TYPE
"shared"
)
else
()
...
...
libcaf_core/CMakeLists.txt
View file @
f52deca7
...
...
@@ -177,5 +177,10 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/caf"
)
add_library
(
caf::core ALIAS libcaf_core
)
if
(
BUILD_SHARED_LIBS
)
add_library
(
libcaf_core_shared ALIAS libcaf_core
)
else
()
add_library
(
libcaf_core_static ALIAS libcaf_core
)
endif
()
list
(
APPEND CAF_LIBRARIES libcaf_core
)
set
(
CAF_LIBRARIES
${
CAF_LIBRARIES
}
PARENT_SCOPE
)
libcaf_io/CMakeLists.txt
View file @
f52deca7
...
...
@@ -76,5 +76,10 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/caf"
)
add_library
(
caf::io ALIAS libcaf_io
)
if
(
BUILD_SHARED_LIBS
)
add_library
(
libcaf_io_shared ALIAS libcaf_io
)
else
()
add_library
(
libcaf_io_static ALIAS libcaf_io
)
endif
()
list
(
APPEND CAF_LIBRARIES libcaf_io
)
set
(
CAF_LIBRARIES
${
CAF_LIBRARIES
}
PARENT_SCOPE
)
libcaf_opencl/CMakeLists.txt
View file @
f52deca7
...
...
@@ -42,6 +42,11 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/caf"
)
add_library
(
caf::opencl ALIAS libcaf_opencl
)
if
(
BUILD_SHARED_LIBS
)
add_library
(
libcaf_opencl_shared ALIAS libcaf_opencl
)
else
()
add_library
(
libcaf_opencl_static ALIAS libcaf_opencl
)
endif
()
list
(
APPEND CAF_LIBRARIES libcaf_opencl
)
set
(
CAF_LIBRARIES
${
CAF_LIBRARIES
}
PARENT_SCOPE
)
libcaf_openssl/CMakeLists.txt
View file @
f52deca7
...
...
@@ -43,5 +43,10 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/caf"
)
add_library
(
caf::openssl ALIAS libcaf_openssl
)
if
(
BUILD_SHARED_LIBS
)
add_library
(
libcaf_openssl_shared ALIAS libcaf_openssl
)
else
()
add_library
(
libcaf_openssl_static ALIAS libcaf_openssl
)
endif
()
list
(
APPEND CAF_LIBRARIES libcaf_openssl
)
set
(
CAF_LIBRARIES
${
CAF_LIBRARIES
}
PARENT_SCOPE
)
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