summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-10-06 19:10:21 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-10-06 19:10:21 (GMT)
commit396f916a428e52912117890185ae2cddb257b6a7 (patch)
tree661761f914864befeae5cc5323e512b33919f7dd /Templates
parent9ed93397fbe57a09e2a510b45331fa925a392bf8 (diff)
downloadCMake-396f916a428e52912117890185ae2cddb257b6a7.zip
CMake-396f916a428e52912117890185ae2cddb257b6a7.tar.gz
CMake-396f916a428e52912117890185ae2cddb257b6a7.tar.bz2
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)
Diffstat (limited to 'Templates')
-rw-r--r--Templates/CMakeNMakeWindowsSystemConfig.cmake4
1 files 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.")