BUILD all projects in a project group as RELEASE? [Edit]

Hi! (In Delphi XE2/XE4) I have a Project Group containing 10 Projects, where all the projects are set to *Debug* Build Configuration for daily work.

Now I want to +Build+ all the projects in the project group with the *Release* Build Configuration, without having to MANUALLY change the Build Configuration for each single project to *Release* and then back again to *Debug* (which would be cumbersome). How can I do this?
0
Peter
4/13/2014 8:54:29 AM
embarcadero.delphi.ide 3925 articles. 0 followers. Follow

5 Replies
1734 Views

Similar Articles

[PageSpeed] 31
Get it on Google Play
Get it on Apple App Store

Am 13.04.2014 10:54, schrieb Peter Panino:
> Hi! (In Delphi XE2/XE4) I have a Project Group containing 10 Projects, where all the projects are set to *Debug* Build Configuration for daily work.
>
> Now I want to +Build+ all the projects in the project group with the *Release* Build Configuration, without having to MANUALLY change the Build Configuration for each single project to *Release* and then back again to *Debug* (which would be cumbersome). How can I do this?
>

Two ways:

1) The project manager allows to switch the configuration of all 
projects in a projectgroup at once (the button with the wrench symbol).

2) Use Build Groups.
    http://www.uweraabe.de/Blog/2013/01/07/do-you-know-build-groups/

-- 
Uwe Raabe
Embarcadero MVP
Certified Delphi Master Developer
Uwe's Blog: The Art of Delphi Programming <http://www.uweraabe.de/>
0
Uwe
4/13/2014 12:53:54 PM
Peter Panino wrote:

> Hi! (In Delphi XE2/XE4) I have a Project Group containing 10
> Projects, where all the projects are set to Debug Build Configuration
> for daily work.
> 
> Now I want to +Build+ all the projects in the project group with the
> Release Build Configuration, without having to MANUALLY change the
> Build Configuration for each single project to Release and then back
> again to Debug (which would be cumbersome). How can I do this?

I'm a big fan of external build scripts.  Especially for release builds.

-- 
Regards,
Bruce McGee
Glooscap Software
0
Bruce
4/13/2014 1:30:18 PM
Uwe Raabe wrote:

> Two ways:
> 
> 1) The project manager allows to switch the configuration of all 
> projects in a projectgroup at once (the button with the wrench symbol).
> 
> 2) Use Build Groups.
>     http://www.uweraabe.de/Blog/2013/01/07/do-you-know-build-groups/{quote}

Hi Uwe, very kind!

Do you know if it is possible to *syntax check* all projects in a project group at once?
0
Peter
4/13/2014 1:49:55 PM
Bruce McGee wrote

> I'm a big fan of external build scripts.  Especially for release builds.

Hi Bruce, thanks! Could you provide an example?

I once tried this one on a .groupproj file:

{code}call  "C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\bin\rsvars.bat"
MSBuild %1 /t:Build /p:Configuration=Release
if errorlevel 1 goto Fehler

goto :EOF

:Fehler
pause{code}

Unfortunately, it throwed some errors, although building all projects at once in the IDE worked without errors.
0
Peter
4/13/2014 1:57:32 PM
Peter Panino wrote:

> Bruce McGee wrote
> 
> > I'm a big fan of external build scripts.  Especially for release
> > builds.
> 
> Hi Bruce, thanks! Could you provide an example?

I use MSBuild directly against .dproj project files.

Partly because not all of the projects in a .groupproj build reliably,
but I haven't looked in to it too much.

Plus, building against the .groupproj also doesn't support the /Rebuild
target, and I don't always build all of the projects in a group as a
part of my regular builds.

That said, I just tried building a .groupproj in XE5 that contains five
projects, and it worked as expected.  Go figure.

-- 
Regards,
Bruce McGee
Glooscap Software
0
Bruce
4/13/2014 4:06:08 PM
Reply:

Similar Artilces:

Copy a complex project from one project group to another project group? [Edit]
Hi! I have a project group with several projects, where each project contains many different files. What is the most easy, quick and secure (i.e. semi-automatic) method to copy a single project from this project group to another project group? Peter Panino wrote: > Hi! I have a project group with several projects, where each project contains many different files. What is the most easy, quick and secure (i.e. semi-automatic) method to copy a single project from this project group to another project group? Using "add existing project" comes to mind... No, "Add existing ...

IDE Projects list does not Sort projects in Group Project window
CG2010, C++,Default IDE layout, the projects pane on the right, has a "Sort" icon...no matter what I option choose, it will not sort list...Jesus, don't you guys check this stuff before you send it out.... ...

Delphi and C++ projects in the same project group
Really basic one. I have a project that comprises of some BCB / C++ projects and a single Delphi DLL. If it possible to add this Delphi Dll to the BCB project group in BDS 2009, or do I have to open Delphi separately and compile it independently of the BCB project group? Many thanks Mike C Please ignore. I've worked it out. Opened RAD studio instead of BCB or Delphi. This seems to allow me to add my Delphi DLL. Mike C "Mike Collins" <its@TheBottomOfThePost> wrote in message ...

Project Group inside a Project Group?
In Delphi, is it possible to have NESTED PROJECTGROUPS, i.e. a Project Group inside a Project Group? Peter Panino wrote: > In Delphi, is it possible to have NESTED PROJECTGROUPS, i.e. a > Project Group inside a Project Group? No, a project group can only hold projects, not other project groups. -- Peter Below (TeamB) It's a pity ... ...

CB2009
There used to be a build type manager int the Project Manager that let me see all of the projects in a project group and set them to debug or release. Is that capability gone now or is there a diffrent way to do it? Larry. In article <18184@forums.codegear.com>, Larry Griffiths <lgriffiths@cox.net> wrote: > There used to be a build type manager int the Project Manager that let me > see all of the projects in a project > group and set them to debug or release. > > Is that capability gone now or is there a diffrent way to do it? You should b...

D2007: Unable to build all projects if a project group has more than 100 pr
Hi, I have a project group of 100 projects. When I try to build all 100 projects in IDE, it compile all projects from 1st to 100 flawlessly. If I add a new project (project 101), and try to compile from 1st to 101 project, it will prompt [DCC Error] Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) However, this problem doesn't happens if I compile in command line using msbuild. I have reported the problem to QC: [http://qc.codegear.com/wc/qcmain.aspx?d=68461|http://qc.codegear.com/wc/qcmain.aspx?d=68461] There is an attachment in the QC entry....

Automatically load every forms of a project or project group in the IDE
Hi, Do you know an expert or a function in an expert collection like CnPack or GExperts that can automatically force all forms to be opened in the IDE in order to force every components in the DFM to be updated ? Doouble clicking on each form mkes me crazy ;-) Regards, -- Pierre Yager -- Pierre Pierre You can simply select all the forms in the open form dialog but AFAIK you actually have to alter something in the .pas for any changes to be saved so it won't benefit you much. Roy Lambert Andreas Hauslanden is your friend: http://andy.jgknet.de/blog/?page...

Build Configurations, Configuration Manager, Project Groups and Releases...
Hi! We have a software project with 2 Executables and roundabout 20 DLLs... Right now I am looking for a way to simply built the whole project for a release. For this we use a project group wich contains all the projects. The release should contain no debug data - so all the projects have different "Debug" and "Release" Build configurations... Usually all projects have "Debug" enabled - only for the release (and release candidate) I want to switch this configuration. I want to built them all... So - hey - just use "build all"... hmmmm... What ha...

Aspose.Project 1.2 Released!
Aspose.Project 1.2 Released! Version 1.2 Released on November 15 2004 ...

Aspose.Project 1.3 Released!
Aspose.Project 1.3 Released! Version 1.3 Released on January 24 2005 Aspose.Project is a .Net Project management component which enables you to read and write...

[Delphi XE2] "Search projects" missing in "Add to Project" dialog box [Edit]
"Search projects" missing in "Add to Project" dialog box when using windows classic theme (windows 7 64bits). Notepad on the contrary still have the "Seacrh ..." box in its open file dialog. Check the images below(they are not mine but show the issue) This one does have the "search document" box in the upper right corner. http://img98.imageshack.us/img98/9518/dialog2.png This one does not have it. http://img291.imageshack.us/img291/4793/dialogl.png Any help on this matter will be greatly appreciated. ...

Delphi XE5 : Random E2213 Compiler error when building all projects [Edit]
Hi, I have a group of 31 packages and 11 projects. Most of them are depending of previous packages. Packages are "build explicitly". They have been designed under Delphi 7 and recently updated for Delphi XE5. Each package and project compile and execute fine. Sometimes, when i do "Build all" or "Compile all", compiler stops on error "E2213 Bad packaged unit format". This error come after building about 10 or 20 packages but never on the same project. Moreover, the unit having a bad format is different everytime. The "found version" is als...

What are these files: Project.ilc, Project.ild, Project.ilf, Project.ils
Hello there, I am using XE c++ builder. What are these files used for? They are in the same directory where the final output (.exe) is. Is there a way to `remove` them after - let`s say - successful compilation/linking? They are Incremental linker files. Turn off the option in your project Options if you do not want them. Larry "Tamas Csabina" wrote in message news:418738@forums.embarcadero.com... Hello there, I am using XE c++ builder. What are these files used for? They are in the same directory where the final output (.exe) is. Is there a way t...

Is there a limit to the number of projects a project group?
Delphi 2007 Win32. There are currently 20 projects. If I add an existing project, another one disappears ;-( What's going on and how to circumvent it? TIA Jan Hi, one problem I know is this: If you have two projects with the same name, but in different folders and you want to add them to the same project-group, then you are in trouble. e.g. c:\projects\project1\project1.dpr c:\projects\AnotherProject1\project1.dpr Hi Jan, > Delphi 2007 Win32. > There are currently 20 projects. If I add an existing project, another one > disappears ;-( Based on my ...

Web resources about - BUILD all projects in a project group as RELEASE? [Edit] - embarcadero.delphi.ide

The Project Shrink - Welcome To Shrinkonia.
... about the importance of the environment we work in and the stories we tell, we should have a Set Designer and a Storyteller on our projects. ...

Better Projects
I think this book by Tobias is beautifully written. There is real craftmanship in the prose here. The book is made up of independent self contained ...

Mozilla Corporation software rebranded by the Debian project - Wikipedia, the free encyclopedia
Mozilla Corporation software rebranded by the Debian project deals with a 2006 software branding dispute and its resolution, between the Mozilla ...

A Bold and Textured Bachelor Pad — Professional Project
Pin it Project by: Denise Wilson Location: New York, New York Now this is how you do texture! From the walls, to the rugs, to the pillows there ...

Kickstarter learned of Zano collapse “through a bare-bones project update”
... collapsed. In a statement sent to backers on Monday, Kickstarter wrote that it was "extremely frustrated by what’s happened with this project." ...

Learn Six Sigma and Lean project management for $79
Knowing (and mastering) the Six Sigma and Lean methods is a must for anyone looking for a career in project management today. And this training ...

Why the 'moonshot project' that Google just launched could be such a big deal
Business Insider Why the 'moonshot project' that Google just launched could be such a big deal Business Insider Many companies there focus ...

Gamesa Plans 100 MW Of Solar Power In India, Commissions Its First Project
... for its massive footprint in the global wind energy market recently announced that it commissioned a 9 MW solar photovoltaic (PV) power project ...

Vancouver projects eye affordable housing
Three apartment projects planned along Fourth Plain Boulevard could bring some much-needed affordable housing to the corridor, as well as fill ...

Master project management with two massively discounted certification courses
In the professional sphere, experience with project management is one of the most valuable skills you can have. Starting is harder than just ...

Resources last updated: 11/24/2015 10:42:10 PM