Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenVolumeMesh
OpenVolumeMesh
Commits
00612295
Commit
00612295
authored
Sep 02, 2019
by
Martin Heistermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: avoid default hidden symbol visibility for now
parent
2228febe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/CMakeLists.txt
src/CMakeLists.txt
+5
-1
No files found.
src/CMakeLists.txt
View file @
00612295
...
...
@@ -93,6 +93,9 @@ if(IN_ACG_BUILD)
endif
()
else
(
IN_ACG_BUILD
)
if
(
WIN32
)
# Windows .dll build is not supported yet.
# TODO: turn this on once we have OVM_EXPORT macros in all required places,
# cf CXX_VISIBILITY_PRESET:
add_library
(
OpenVolumeMesh STATIC
${
SOURCE_FILES
}
)
else
()
option
(
BUILD_SHARED_LIBS
"Build shared library (*.dll, *.so, *.dylib) instead of static library (*.a, *.lib)"
ON
)
...
...
@@ -116,7 +119,8 @@ set_target_properties (OpenVolumeMesh PROPERTIES
CXX_STANDARD
${
OVM_CXX_VERSION
}
CXX_STANDARD_REQUIRED YES
CXX_EXTENSIONS NO
CXX_VISIBILITY_PRESET hidden
# TODO: turn this on once we have OVM_EXPORT macros in all required places:
#CXX_VISIBILITY_PRESET hidden
POSITION_INDEPENDENT_CODE ON
)
...
...
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