Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
actor-incubator
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
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-incubator
Commits
18776a84
Commit
18776a84
authored
Aug 18, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix handling of CMAKE_EXPORT_COMPILE_COMMANDS
parent
dd16e3ec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
CMakeLists.txt
CMakeLists.txt
+5
-2
No files found.
CMakeLists.txt
View file @
18776a84
...
@@ -11,10 +11,13 @@ include(FetchContent) # For bundling CAF with the incubator
...
@@ -11,10 +11,13 @@ include(FetchContent) # For bundling CAF with the incubator
include
(
GNUInstallDirs
)
# Sets default install paths
include
(
GNUInstallDirs
)
# Sets default install paths
include
(
GenerateExportHeader
)
# Auto-generates dllexport macros
include
(
GenerateExportHeader
)
# Auto-generates dllexport macros
# -- override CMake defaults for internal cache entries ------------------------
set
(
CMAKE_EXPORT_COMPILE_COMMANDS ON
CACHE INTERNAL
"Write JSON compile commands database"
)
# -- general options -----------------------------------------------------------
# -- general options -----------------------------------------------------------
option
(
BUILD_SHARED_LIBS
"Build shared library targets"
ON
)
option
(
BUILD_SHARED_LIBS
"Build shared library targets"
ON
)
option
(
CMAKE_EXPORT_COMPILE_COMMANDS
"Write JSON compile commands database"
ON
)
# -- incubator options that are off by default ---------------------------------
# -- incubator options that are off by default ---------------------------------
...
@@ -37,7 +40,7 @@ set(CAF_INC_SANITIZERS "" CACHE STRING
...
@@ -37,7 +40,7 @@ set(CAF_INC_SANITIZERS "" CACHE STRING
# -- macOS-specific options ----------------------------------------------------
# -- macOS-specific options ----------------------------------------------------
if
(
APPLE
)
if
(
APPLE
)
option
(
CMAKE_MACOSX_RPATH
"Use rpaths on macOS and iOS"
ON
)
set
(
CMAKE_MACOSX_RPATH ON CACHE INTERNAL
"Use rpaths on macOS and iOS"
)
endif
()
endif
()
# -- get dependencies ----------------------------------------------------------
# -- get dependencies ----------------------------------------------------------
...
...
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