Workspace build config

CodeLite installation/troubleshooting forum
Akronym
CodeLite Enthusiast
Posts: 15
Joined: Fri Sep 05, 2014 9:02 pm
Genuine User: Yes
IDE Question: c++
Location: Germany
Contact:

Workspace build config

Post by Akronym »

Hi,

I created a new project template with two additional build configurations (debug-static and release-static) ...

The Workspace build options just offer me standard debug and release, even when I add the new project with four options.
Do I have to alter the workspace options everytime I create a new workspace??! Or is there a way to globally add more options or automatic creating new options based on the projects added to the workspace?!

Using CodeLite 9.1.1 on Windows 10

Regards,
Akronym
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Workspace build config

Post by eranif »

In general, you need to add a new *workspace* configuration
TO do this:

Build->Configuration Manager

in the 'workspace configuration' drop down, there is a '<New...>' click it
and add the new workspace configuration.

There is an excellent logic behind this: http://codelite.org/LiteEditor/ConfigurationManager

Eran
Make sure you have read the HOW TO POST thread
Akronym
CodeLite Enthusiast
Posts: 15
Joined: Fri Sep 05, 2014 9:02 pm
Genuine User: Yes
IDE Question: c++
Location: Germany
Contact:

Re: Workspace build config

Post by Akronym »

Thanks for your reply,

the logic behind this is cool and this is how I do it atm, but I guess an "auto create configs" option is rather too much, right?

For example:
- Create new Workspase
- Add new Project that comes with 4 build config (debug, release, debug-static, release-static)
- The Workspace "automatically" adds the project configs to the workspace configs.

Every time a new project gets added, the workspace configs will add every new config (based on name).

I know that creating a new workspace is a less common action, but would be a nice to have feature anyway :)
Post Reply