Specifying the msbuild configuration for a Delphi project on the commandline – twm’s blog
Posted by jpluimers on 2020/07/02
Reminder to self: check my own build configurations as there is a difference for Delphi 2007 and Delphi >= 2009: [WayBack] Specifying the msbuild configuration for a Delphi project on the commandline – twm’s blog.
Thomas indicate that:
- Delphi 2007 uses
/p:Config=Debug
(orRelease
) - Delphi 2009+ uses
/p:Configugration=Debug
(orRelease
)
From my own notes, I think Delphi >= 2009 also understands the Delphi 2007 way.
Via: [WayBack] Starting with Delphi 2007 EmBorCodera switched to msbuild for the build system. The newly introduced .dproj file used since then is a valid build script… – Thomas Mueller (dummzeuch) – Google+
References:
- [WayBack] How can I get MSBuild to do a full build of a Delphi project equivalent to dcc32 -b? – Stack Overflow
I believe it’s
/t:rebuild
, themsbuild
output lists “Deleting file: …” for all the dcu’s, then builds the project.I use a batch file to call msbuild to build delphi projects, for Delphi 2007 …
- [WayBack] Delphi MSBuild Build Configurations From Command Line – Stack Overflow
–jeroen
Leave a Reply