Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-common
Commits
b4e1bf5c
Commit
b4e1bf5c
authored
7 months ago
by
Santiago Ospina De Los Ríos
Committed by
Christoph Grüninger
2 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Install libraries in root build path instead on project build path
parent
76cc3192
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1467
Install libraries in root build path instead on project build path
Pipeline
#76365
passed
2 months ago
Stage: .pre
Stage: test
Stage: code_quality
Stage: downstream
Pipeline: Dune Nightly Test
#76368
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/modules/DuneAddLibrary.cmake
+3
-3
3 additions, 3 deletions
cmake/modules/DuneAddLibrary.cmake
with
3 additions
and
3 deletions
cmake/modules/DuneAddLibrary.cmake
+
3
−
3
View file @
b4e1bf5c
...
...
@@ -187,10 +187,10 @@ function(dune_add_library_normal _name)
# Set target options from COMPILE_FLAGS
target_compile_options
(
${
_name
}
PUBLIC
"
${
ARG_COMPILE_OPTIONS
}
"
)
# Build library in ${
PROJECT
_BINARY_DIR}/lib
# Build library in ${
CMAKE
_BINARY_DIR}/lib
set_target_properties
(
${
_name
}
PROPERTIES
LIBRARY_OUTPUT_DIRECTORY
"
${
PROJECT
_BINARY_DIR
}
/lib"
ARCHIVE_OUTPUT_DIRECTORY
"
${
PROJECT
_BINARY_DIR
}
/lib"
)
LIBRARY_OUTPUT_DIRECTORY
"
${
CMAKE
_BINARY_DIR
}
/lib"
ARCHIVE_OUTPUT_DIRECTORY
"
${
CMAKE
_BINARY_DIR
}
/lib"
)
# Set an output name for the created library file
if
(
ARG_OUTPUT_NAME
)
...
...
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