Skip to content

Commit 64e9832

Browse files
committed
[cbuildgen] Disable incremental link in debug config
1 parent ed5db98 commit 64e9832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/buildmgr/cbuildgen/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ add_custom_command(TARGET cbuildgen POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy
3838

3939
#
4040
if(MSVC)
41-
target_link_options(cbuildgen PUBLIC "$<$<CONFIG:Debug>:/SAFESEH:NO>")
41+
target_link_options(cbuildgen PUBLIC "$<$<CONFIG:Debug>:/SAFESEH:NO;/INCREMENTAL:NO>")
4242
endif(MSVC)
4343
set_property(TARGET cbuildgen PROPERTY
4444
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")

0 commit comments

Comments
 (0)