Explorar el Código

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)

Sebastien Barre hace 23 años
padre
commit
396f916a42
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Templates/CMakeNMakeWindowsSystemConfig.cmake

+ 2 - 2
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.")