Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
acts-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
acts
acts-core
Commits
57e5c359
Commit
57e5c359
authored
5 years ago
by
Corentin Allaire
Browse files
Options
Downloads
Patches
Plain Diff
changed CmakeLists
parent
7135d8d1
No related branches found
No related tags found
1 merge request
!708
Move json plugin to core
Pipeline
#1283768
passed
5 years ago
Stage: check
Stage: build
Stage: test
Stage: analysis
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Plugins/Json/CMakeLists.txt
+15
-4
15 additions, 4 deletions
Plugins/Json/CMakeLists.txt
with
15 additions
and
4 deletions
Plugins/Json/CMakeLists.txt
+
15
−
4
View file @
57e5c359
...
...
@@ -4,6 +4,7 @@ set(_json_dep_header_sha256_ref d2eeb25d2e95bffeb08ebb7704cdffd2e8fca7113eba9a0b
# Check if hash of file on disk matches the stated hash of the release
file
(
READ
"include/Acts/Plugins/Json/lib/json.h"
_json_dep_header
)
file
(
GLOB_RECURSE src_files
"src/*.cpp"
"include/*.hpp"
)
string
(
SHA256 _json_dep_header_sha256
"
${
_json_dep_header
}
"
)
if
(
NOT
${
_json_dep_header_sha256
}
STREQUAL
${
_json_dep_header_sha256_ref
}
)
...
...
@@ -11,12 +12,22 @@ if(NOT ${_json_dep_header_sha256} STREQUAL ${_json_dep_header_sha256_ref})
endif
()
add_library
(
ActsJsonPlugin INTERFACE
)
ActsJsonPlugin SHARED
${
src_files
}
)
target_include_directories
(
ActsJsonPlugin
INTERFACE
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/include>
$<INSTALL_INTERFACE:
${
CMAKE_INSTALL_INCLUDEDIR
}
>
)
SYSTEM INTERFACE
${
Boost_INCLUDE_DIRS
}
${
EIGEN_INCLUDE_DIRS
}
)
target_include_directories
(
ActsJsonPlugin
PUBLIC
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/>
$<INSTALL_INTERFACE:include>
)
target_link_libraries
(
ActsJsonPlugin PUBLIC ActsCore
)
install
(
TARGETS ActsJsonPlugin
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment