Skip to content
Snippets Groups Projects
Commit 9f9954c2 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

try CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS with MSVC to export .def file automatically

parent a549f5fa
No related branches found
No related tags found
No related merge requests found
......@@ -1519,6 +1519,9 @@ if(WIN32 AND NOT MSVC OR CYGWIN)
elseif(MSVC)
set_target_properties(gmsh PROPERTIES LINK_FLAGS
"/STACK:16777216 /SAFESEH:NO")
if(ENABLE_BUILD_DYNAMIC)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
endif(ENABLE_BUILD_DYNAMIC)
endif(WIN32 AND NOT MSVC OR CYGWIN)
# parser target
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment