From 396f916a428e52912117890185ae2cddb257b6a7 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Sun, 6 Oct 2002 15:10:21 -0400 Subject: ENH: nmake now uses incremental linking as Msdev does. Faster build (linking a static vtk.exe or paraview.exe could take more than 10 minutes) --- Templates/CMakeNMakeWindowsSystemConfig.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Templates/CMakeNMakeWindowsSystemConfig.cmake b/Templates/CMakeNMakeWindowsSystemConfig.cmake index d92906d..1f7ea39 100644 --- a/Templates/CMakeNMakeWindowsSystemConfig.cmake +++ b/Templates/CMakeNMakeWindowsSystemConfig.cmake @@ -100,8 +100,8 @@ SET (CMAKE_LIBRARY_MANAGER_OUTPUT_FILE_FLAG "/out:" CACHE STRING SET (CMAKE_LINKER link CACHE FILEPATH "Name of linker used.") -SET (CMAKE_LINKER_FLAGS "/nologo /STACK:10000000 /machine:I386" CACHE STRING - "Flags used by the linker.") +SET (CMAKE_LINKER_FLAGS "/nologo /STACK:10000000 /machine:I386 /INCREMENTAL:YES" + CACHE STRING "Flags used by the linker.") SET (CMAKE_LINKER_FLAGS_DEBUG "/debug /pdbtype:sept" CACHE STRING "Flags used by the linker during debug builds.") -- cgit v0.12