Skip to content

Simplify vcxproj files - Remove explicit defaults - #456

Merged
DanRStevens merged 4 commits into
mainfrom
simplifyVcxprojFile
Aug 13, 2026
Merged

Simplify vcxproj files - Remove explicit defaults#456
DanRStevens merged 4 commits into
mainfrom
simplifyVcxprojFile

Conversation

@DanRStevens

Copy link
Copy Markdown
Member

Remove explicit settings that match defaults.

Explicit defaults just add noise, and make it less clear what settings are actually being changed from default values, and may be of greater importance to pay attention to.

Related:

The `IntrinsicFunctions` (`/Oi`) setting is implied by `Optimization` being set to `MaxSpeed` (`/O2`). The `/O2` flag implies: `/Og` `/Oi` `/Ot` `/Oy` `/Ob2` `/GF` `/Gy`

Related:
- PR OutpostUniverse/OPHD#2209
- PR lairworks/nas2d-core#1485
The `FunctionLevelLinking` (`/Gy`) setting is implied by `Optimization` being set to `MaxSpeed` (`/O2`). The `/O2` flag implies: `/Og` `/Oi` `/Ot` `/Oy` `/Ob2` `/GF` `/Gy`

Related:
- PR OutpostUniverse/OPHD#2209
- PR lairworks/nas2d-core#1485
For `Debug` builds (`UseDebugLibraries` set to `true`) the default for `Optimization` is `Disabled` (`/Od`).

For `Release` builds (`UseDebugLibraries` not set to `true`) the default for `Optimization` is `MaxSpeed` (`/O2`).
For `Debug` builds (`UseDebugLibraries` set to `true`) the `RuntimeLibrary` setting defaults to `MultiThreadedDebugDll`.

For `Release` builds (`UseDebugLibraries` not set to `true`) the `RuntimeLibrary` setting defaults to `MultiThreadedDll`.
@DanRStevens
DanRStevens merged commit a979ca5 into main Aug 13, 2026
6 checks passed
@DanRStevens
DanRStevens deleted the simplifyVcxprojFile branch August 13, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant