File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ set(CMAKE_C_FLAGS_RELEASEINTERNAL "${CMAKE_C_FLAGS_RELEASE}")
4646set (CMAKE_CXX_FLAGS_RELEASEINTERNAL "${CMAKE_CXX_FLAGS_RELEASE} " )
4747set (CMAKE_SHARED_LINKER_FLAGS_RELEASEINTERNAL "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} " )
4848set (CMAKE_EXE_LINKER_FLAGS_RELEASEINTERNAL "${CMAKE_EXE_LINKER_FLAGS_RELEASE} " )
49+ if (MSVC AND ENABLE_VS_FASTLINK)
50+ string (APPEND CMAKE_EXE_LINKER_FLAGS_DEBUG " /debug:FASTLINK" )
51+ string (APPEND CMAKE_SHARED_LINKER_FLAGS_DEBUG " /debug:FASTLINK" )
52+ string (APPEND CMAKE_STATIC_LINKER_FLAGS_DEBUG " /debug:FASTLINK" )
53+ string (APPEND CMAKE_MODULE_LINKER_FLAGS_DEBUG " /debug:FASTLINK" )
54+ endif ()
4955
5056string (TOLOWER "${CMAKE_BUILD_TYPE} " BUILD_TYPE_lower)
5157if ("${BUILD_TYPE_lower} " STREQUAL "releaseinternal" )
You can’t perform that action at this time.
0 commit comments