Skip to content
Snippets Groups Projects
Commit 3ee498c4 authored by Kitty Barnett's avatar Kitty Barnett
Browse files

[Viewer/Build]

- changed: compiler options for "Release with Debug" builds
- changed: compiler and linker options for "Release" builds

--HG--
branch : Viewer-Build
parent c1d74e58
No related branches found
No related tags found
No related merge requests found
[Viewer/Build]
- changed: compiler options for "Release with Debug" builds
- changed: compiler and linker options for "Release" builds
......@@ -38,10 +38,10 @@ if (WINDOWS)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /Od /Zi /MDd /MP"
CACHE STRING "C++ compiler debug options" FORCE)
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO
"${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /Od /Zi /MD /MP"
"${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /Od /Zi /MD /Gm"
CACHE STRING "C++ compiler release-with-debug options" FORCE)
set(CMAKE_CXX_FLAGS_RELEASE
"${CMAKE_CXX_FLAGS_RELEASE} ${LL_CXX_FLAGS} /O2 /Zi /MD /MP"
"${CMAKE_CXX_FLAGS_RELEASE} ${LL_CXX_FLAGS} /O2 /Zi /MD /Oi /Ot /GF /Gy /arch:SSE2"
CACHE STRING "C++ compiler release options" FORCE)
set(CMAKE_CXX_STANDARD_LIBRARIES "")
......
......@@ -1410,7 +1410,7 @@ if (WINDOWS)
if(MSVC71)
set(release_flags "/MAP:Release/${VIEWER_BINARY_NAME}.map /MAPINFO:LINES")
else(MSVC71)
set(release_flags "/MAP:Release/${VIEWER_BINARY_NAME}.map")
set(release_flags "/MAP:Release/${VIEWER_BINARY_NAME}.map /OPT:REF")
endif(MSVC71)
set_target_properties(${VIEWER_BINARY_NAME}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment