I am using Delphi XE. Since Delphi 2007, it supports the Project Group (.groupproj) that we can add projects to it.
We can define various build configurations for projects in Build Configurations, for example: Debug and Release build.
As of Delphi 2010, the time variable $ (Config) can be used to set the Output Directory, for example:. \ $ (Config)
In this example, $ (Config) is translated to "Debug" to build Debug and "Release" to build the version, respectively.
When the Debug assembly is activated in the assembly configuration, the output file will be stored in the ". \ Debug" folder relative to the current directory.
This is a nice feature, so we can have output files stored in different folders for assemblies defined in the project assembly configuration.
In addition, using the “Build” menu item in the context menu (pop-up menu with a right-click), “Build Configuration” compiles all the lines at the bottom.
Unfortunately, I have over 200 projects in my project group. In each project, Debug and Release parameters are defined. I can’t find a way to initiate a debug and release build action for 200 projects at a time.
The only solution I've known so far is to use View | Configuration Manager to change the active configuration before each build. However, this will mean that all projects are changed.
Share your thoughts on how to compile all the assemblies available for the project team.
Thanks.