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
b10dcaa4
Commit
b10dcaa4
authored
Sep 28, 2018
by
uentity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable shared libraries build on Windows
parent
5e0471bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
CMakeLists.txt
CMakeLists.txt
+4
-5
No files found.
CMakeLists.txt
View file @
b10dcaa4
cmake_minimum_required
(
VERSION
2.8.12
)
cmake_minimum_required
(
VERSION
3.4.0
)
project
(
caf C CXX
)
include
(
CheckCSourceCompiles
)
...
...
@@ -20,10 +20,9 @@ if(APPLE AND NOT DEFINED CMAKE_MACOSX_RPATH)
set
(
CMAKE_MACOSX_RPATH true
)
endif
()
# Shared libs are currently not supported on Windows.
if
(
WIN32 AND NOT CAF_BUILD_STATIC_ONLY
)
message
(
STATUS
"CAF currently only supports static-only builds on Windows"
)
set
(
CAF_BUILD_STATIC_ONLY yes
)
# Auto-export all symbols from Windows DLL
if
(
WIN32
)
set
(
CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON
)
endif
()
if
(
CAF_BUILD_STATIC_RUNTIME
)
...
...
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