Page 1 of 1

Workspace build config

Posted: Sat Feb 20, 2016 9:31 pm
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

Re: Workspace build config

Posted: Sat Feb 20, 2016 11:02 pm
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

Re: Workspace build config

Posted: Sun Feb 21, 2016 12:25 am
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 :)