I’d like to make builds from the command line and I’m wondering if there’s a way how to execute the command line compiler with selected build configuration ?
I know there is option –no-config which won’t load default dcc32.cfg file but I would like to set the build configuration I’ve prepared in my project.
I would like to run something like
dcc32.exe --some-option RELEASE Win32 PLATFORM
Is there some option for selecting build configuration ?
Thank you
You need to be using
msbuildrather thandcc32for this:Make sure you have called the
rsvars.batfile from the RAD Studiobinfolder before you attempt to callmsbuild. This sets up the necessary environment variables.The great thing about the modern
msbuildbased build system, as implemented in Delphi, is that you can quite easily ensure that your command line builds are identical to your IDE builds.