Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
CoMISo
Base
Commits
7e5f246c
Commit
7e5f246c
authored
3 years ago
by
Marco Amagliani
Committed by
GitHub Enterprise
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Increase cmake min version to allow symbol hiding (#51)
parent
47979ad8
Branches
Branches containing commit
No related tags found
1 merge request
!14
Merge latest changes to Base from ReForm
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+3
-2
3 additions, 2 deletions
CMakeLists.txt
with
3 additions
and
2 deletions
CMakeLists.txt
+
3
−
2
View file @
7e5f246c
cmake_minimum_required
(
VERSION 3.1
)
cmake_minimum_required
(
VERSION 3.1
4
)
# This is used by ASM for ASM compatibility. Include a file that the parent
# project can pass to set specific compilation flags
...
...
@@ -41,8 +41,9 @@ base_add_subdir(Utils)
target_include_directories
(
${
output_lib
}
PUBLIC
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/.."
)
#Various useful defaults.
#
set_target_properties(${output_lib} PROPERTIES CXX_VISIBILITY_PRESET hidden)
set_target_properties
(
${
output_lib
}
PROPERTIES CXX_VISIBILITY_PRESET hidden
)
set_target_properties
(
${
output_lib
}
PROPERTIES C_VISIBILITY_PRESET hidden
)
set_target_properties
(
${
output_lib
}
PROPERTIES VISIBILITY_INLINES_HIDDEN ON
)
set_target_properties
(
${
output_lib
}
PROPERTIES C_STANDARD 99
)
set_target_properties
(
${
output_lib
}
PROPERTIES POSITION_INDEPENDENT_CODE ON
)
...
...
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