Opened 11 months ago

Closed 11 months ago

Last modified 11 months ago

#16093 closed optimization (fixed)

Refactoring some compiler options in VS2012, 2013 projects

Reported by: awi Owned by:
Priority: low Milestone:
Component: build Version: dev-latest
Keywords: VS 2012 2013 compiler settings Cc:
Blocked By: Blocking:
Patch: yes

Description

Currently, for all projects there is defined "raw" compiler option /MP under "addition command line options".
But there is available a dedicated property "multi-processor compilation" in "C/C++ general settings" to control this setting.
See attached screenshot.

MP setting is hidden now and this can be misleading if someone wants to e.g. turn of multi-processor compilation.
Patches for VS 2012, 2013 moving /MP compiler option to the property sheet attached.

Attachments (3)

vs-compile-opt.png download (13.7 KB) - added by awi 11 months ago.
VS compiler otions.
wx-vc11.patch download (34.2 KB) - added by awi 11 months ago.
Patch to change compiler options in VS 2012 solution
wx-vc12.patch download (34.4 KB) - added by awi 11 months ago.
Patch to change compiler options in VS 2013 solution.

Download all attachments as: .zip

Change History (5)

Changed 11 months ago by awi

VS compiler otions.

Changed 11 months ago by awi

Patch to change compiler options in VS 2012 solution

Changed 11 months ago by awi

Patch to change compiler options in VS 2013 solution.

comment:1 Changed 11 months ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [76157]) Use "MultiProcessorCompilation" instead of explicit /MP in MSVS projects.

Use the user-visible option instead of the command line option which is now
hidden in the IDE.

Closes #16093.

comment:2 Changed 11 months ago by VZ

(In [76158]) Use "MultiProcessorCompilation" instead of explicit /MP in MSVS projects.

Use the user-visible option instead of the command line option which is now
hidden in the IDE.

Closes #16093.

Note: See TracTickets for help on using tickets.