News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Default project

Started by ordak, September 18, 2017, 05:17:11 PM

Previous topic - Next topic

ordak

Hi,

How can I set a project as default project in Code::Blocks ?

By default project I mean a project that is opened after Code::Blocks execution.
Code::Blocks SVN
OS : Ubuntu LTS

BlueHazzard

There is no easy way to do this (but there are multiple hard ways to do it ;) ...
What project should be loaded? A created project, or a new project?

ordak

Quote from: BlueHazzard on September 18, 2017, 06:01:06 PM
There is no easy way to do this (but there are multiple hard ways to do it ;) ...
What project should be loaded? A created project, or a new project?

A created project. This is not a high priority for me though.
Code::Blocks SVN
OS : Ubuntu LTS

BlueHazzard

Always a fixed project?
You could hard code the project loading in the startup script:
Settings->Edit startup script
and paste the following code in it:
GetProjectManager().LoadProject(_("PATH/TO/YOUR/PROJECT"), true);

it would probably also be possible to load the last activated project somehow....