diff --git a/src/main/c/jni-lib/CMakeLists.txt b/src/main/c/jni-lib/CMakeLists.txt index 98db7ebe..59283c29 100644 --- a/src/main/c/jni-lib/CMakeLists.txt +++ b/src/main/c/jni-lib/CMakeLists.txt @@ -25,7 +25,9 @@ endif () if (WIN32) # Set the DLLEXPORT variable to export symbols -# set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) + # if (CMAKE_BUILD_TYPE STREQUAL "Debug") + set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) + # endif() set(CRITICAL_SECTION_IMPL src/utils/vm/CriticalSectionWindows.cpp) else () set(CRITICAL_SECTION_IMPL src/utils/vm/CriticalSectionMacOS.cpp) @@ -106,7 +108,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") /W3 /bigobj /EHsc - "$<$:/GL>" + # "$<$:/GL>" "$<$:/Ox>" "$<$:/Ob2>" "$<$:/Ot>"