notepad-plus-plus-legacy/PowerEditor/visual.net
Robert Dailey 5c69e59187 Enable multiprocessor build
Project now utilizes the /MP compiler switch to perform
parallelized builds. The number of parallel builds performed
is determined on a per-machine basis based on available
logical CPUs.

Long term this will provide the best performance output to
code maintainability ratio compared to just enabling
precompiled headers.

Using my personal machine (8 cores), I got the following
timings (Debug configuration):

* Normal build           : 89 seconds
* Multi-processor build  : 28 seconds
* PCH enabled            : 27 seconds

Note that the multi-processor build timings can be further
reduced with proper dependency management and removal of
existing precompiled header file (precompiledHeaders.h).

Specific Changes:

* Precompiled header support disabled (not compatible with
  /MP flag).
* precompiledHeader.cpp deleted.
* Solution File added.
* Minimal Rebuild (/Gm) disabled (ignored when /MP is on).

precompiledHeaders.h still exists because it contains a ton of
inclusions required by lots of files. A second and less trivial
cleanup will involve removing the precompiledHeaders.h file and
individually correcting and satisfying dependencies in each source
file in the code base.
2015-05-17 22:34:34 -05:00
..
notepadPlus.sln Enable multiprocessor build 2015-05-17 22:34:34 -05:00
notepadPlus.vcxproj Enable multiprocessor build 2015-05-17 22:34:34 -05:00
notepadPlus.vs2005.vcproj [NEW] Add VS 2013 support. 2014-10-14 22:29:23 +00:00