qBittorrent/cmake/Modules/winconf-msvc.cmake

13 lines
371 B
CMake
Raw Normal View History

if (STACKTRACE)
if (NOT "${WINXXBITS}" STREQUAL "Win64")
2015-11-06 21:03:18 +03:00
# i686 arch requires frame pointer preservation
add_compile_options(-Oy-)
endif (NOT "${WINXXBITS}" STREQUAL "Win64")
add_compile_options(-Zi)
link_libraries(dbghelp -DEBUG)
endif (STACKTRACE)
2015-11-06 21:03:18 +03:00
include(MacroConfigureMSVCRuntime)
set(MSVC_RUNTIME "dynamic")
configure_msvc_runtime()