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
af5fe81c
Commit
af5fe81c
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
f3c0377d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
CMakeLists.txt
CMakeLists.txt
+7
-3
No files found.
CMakeLists.txt
View file @
af5fe81c
...
@@ -8,13 +8,17 @@ include(CMakePackageConfigHelpers) # For creating .cmake files
...
@@ -8,13 +8,17 @@ include(CMakePackageConfigHelpers) # For creating .cmake files
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
)
option
(
THREADS_PREFER_PTHREAD_FLAG
"Prefer -pthread flag if available "
ON
)
option
(
THREADS_PREFER_PTHREAD_FLAG
"Prefer -pthread flag if available "
ON
)
# -- CAF options that are off by default ---------------------------------------
-
# -- CAF options that are off by default ---------------------------------------
option
(
CAF_ENABLE_CURL_EXAMPLES
"Build examples with libcurl"
OFF
)
option
(
CAF_ENABLE_CURL_EXAMPLES
"Build examples with libcurl"
OFF
)
option
(
CAF_ENABLE_PROTOBUF_EXAMPLES
"Build examples with Google Protobuf"
OFF
)
option
(
CAF_ENABLE_PROTOBUF_EXAMPLES
"Build examples with Google Protobuf"
OFF
)
...
@@ -48,7 +52,7 @@ set(CAF_INSTALL_CMAKEDIR
...
@@ -48,7 +52,7 @@ set(CAF_INSTALL_CMAKEDIR
# -- 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
()
# -- project-specific CMake settings -------------------------------------------
# -- project-specific CMake settings -------------------------------------------
...
...
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