All notable changes to this project will be documented in this file.
- Change order of pscustomobject to display
outputfirst so the user doesn't have to scroll to see the rest of the result fields - Add
WinARM64ECas a valid MSBuild platform value, with test coverage for passing it through to/p:Platform=WinARM64EC - Fix
-ShowOutputso MSBuild output is streamed line-by-line while still being captured in the result object's.outputproperty
.outputis now always populated in the result object -- previously it was$nullwhen-ShowOutputwas used; output is now captured and streamed.exeOutputDirand.dcuOutputDirare now resolved from the dcc32 compiler invocation in the build output when not supplied as parameters.warningsand.errorsinteger counts added to the result object, parsed from the MSBuild summary line- Fix: duplicate
/p:DCC_UnitSearchPathargument when-UnitSearchPathwas supplied (the unquoted copy was appended first, then the quoted copy)
-Defineparameter broken - MSBuild thinks it's a switch #16
- Ensure
PowerShell 5.1compatibility for the delphi-msbuild.ps1 script (Tests remain the newerpwsh)
#13
-
Add
-ExeOutputDirparameter to set the compiled executable output directory via/p:DCC_ExeOutput -
Add
-DcuOutputDirparameter to set the compiled DCU output directory via/p:DCC_DcuOutput -
Add
-UnitSearchPathparameter to append additional unit search paths via/p:DCC_UnitSearchPath=$(DCC_UnitSearchPath);..., preserving paths already set by the project's PropertyGroups #11 -
Add support for passing compiler defines to MSBUILD #9
- Added
delphi-msbuild.ps1to be a direct download on the release page #5
- Initial release of
delphi-msbuild.ps1-- build Delphi.dprojprojects via MSBuild from the command line, with support for piped output fromdelphi-inspectand automaticrsvars.batenvironment sourcing. #1
