Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Update compile options for MSVC build. #276

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Microsoft.WindowsAzure.Storage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
message("-- Setting MSVC options")
add_compile_options(/bigobj)
add_compile_options(/MP)
add_compile_options(/Zi)
add_compile_options(/GF)
add_compile_options(/Gy)
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /DEBUG /DEBUGTYPE:cv,fixup /INCREMENTAL:NO")
if(BUILD_SHARED_LIBS)
add_definitions(-DWASTORAGE_DLL -D_USRDLL)
else()
Expand Down