Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
a86e2137
Commit
a86e2137
authored
11 months ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Plain Diff
[j.3] CMake + set(CMAKE_VISIBILITY_INLINES_HIDDEN YES) ()
Merging branch 'j.3' into 'main'. See merge request
!2527
parents
79683733
a0be44a6
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!2527
CMake + set(CMAKE_VISIBILITY_INLINES_HIDDEN YES)
Pipeline
#140987
passed
11 months ago
Stage: build
Changes
1
Pipelines
1
Hide 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 @
a86e2137
...
...
@@ -153,8 +153,6 @@ elseif(WIN32)
include
(
cmake/BornAgain/Windows
)
endif
()
include
(
cmake/BornAgain/CompilerInfo
)
if
(
CMAKE_CXX_COMPILER_ID MATCHES
"Clang"
)
set
(
CLANG ON
)
elseif
(
CMAKE_CXX_COMPILER_ID STREQUAL
"GNU"
)
...
...
@@ -164,6 +162,7 @@ elseif(NOT WIN32)
message
(
FATAL_ERROR
"Unsupported compiler, id=
${
CMAKE_CXX_COMPILER_ID
}
"
)
endif
()
set
(
CMAKE_VISIBILITY_INLINES_HIDDEN YES
)
if
(
ZERO_TOLERANCE
)
if
(
WIN32
)
string
(
APPEND CMAKE_CXX_FLAGS
" /WX"
)
...
...
@@ -176,6 +175,8 @@ if(ALGORITHM_DIAGNOSTIC)
endif
()
string
(
APPEND CMAKE_CXX_FLAGS_DEBUG
" -DBA_DEBUG"
)
# changes behavior of ASSERT
include
(
cmake/BornAgain/CompilerInfo
)
### Further configuration
# function definitions
...
...
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