How can I get MSBuild to do a full build of a Delphi project equivalent to dcc32 -b?
I've got two projects I'm trying to build, the first one uses some conditional defines, which are getting passed via msbuild to the dcc32. However, some common units appear to be stuck with the first set of conditionals, so the second project is built ...
It is possible to work with a Delphi 5 project in the Delphi 2009 IDE by referencing the Delphi 5 version of dcc32?
If so are there any issues to watch out for concerning the way that project settings (search paths, conditional defines etc.) are implemented in 2009?
Edit: Just to clarify I am also upgrading the project to Unicode but w...
Is there a way to instruct DCC32 to use the same library path that is used by the IDE (i.e. in Tools/Options/Environment Options/Delphi Options/Library - Win32)?
For obvious reasons, I do not want to maintain two lists of directories (one in a cfg file, one in the Delphi IDE).
...
When compiling a Delphi project calling DCC32.EXE from a script, no .dcu files are generated.
Is there a command-line switch (or .cfg setting) to make the compiler create dcu's? Will the compiler then also check the .pas file and re-create the .dcu if the source has changed?
(I've seen there's a similar question for the Delphi 6 compil...