Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: cb@germany on August 19, 2015, 07:40:20 pm

Title: Codeblocks * 2
Post by: cb@germany on August 19, 2015, 07:40:20 pm
Hi!

I have a problem, maybe someone here can help?

I want to run codeblocks with different environments. But it will always use the same settings.
Now I wonder, if it is possible two run two installations fully separated.

The second point is about the same as point 1. If codeblocks * 2 is there another IDE thelike
codeblocks, which could be used on the same system??

Title: Re: Codeblocks * 2
Post by: stahta01 on August 19, 2015, 07:45:49 pm
Use there is an option to pass a profile on the command that starts CB.

Edit: Link to wiki http://wiki.codeblocks.org/index.php?title=Code::Blocks_command_line_arguments (http://wiki.codeblocks.org/index.php?title=Code::Blocks_command_line_arguments)

If you call codeblocks with --help it will give all the options.

Tim S.
Title: Re: Codeblocks * 2
Post by: cb@germany on August 19, 2015, 08:05:41 pm
Mhhhhh.

Then I would use the --user-data-dir option???
Title: Re: Codeblocks * 2
Post by: stahta01 on August 19, 2015, 09:12:40 pm
Mhhhhh.

Then I would use the --user-data-dir option???

I forget what that option does; it might be better than the option I use of "--personality".
Edit: It changes the folder to hold the settings; it might be better or worse depending on what you are trying to do.

Code
--personality=<str>

Tim S.
Title: Re: Codeblocks * 2
Post by: cb@germany on August 26, 2015, 10:02:44 pm
Actually I am trying to develop using two incompatible compiler and/or linker settings.

Both "environments" should know nothing of each other and even if one is changed
erroneously, the other should not be inflicted.

In best case, one profile would develop x and the other y.

If there are some guys into this, I have quite some problems with code completion.
With c++ it works quite fine, with other stuff more or less not.

 
Title: Re: Codeblocks * 2
Post by: MortenMacFly on August 27, 2015, 07:32:30 am
Both "environments" should know nothing of each other and even if one is changed
erroneously, the other should not be inflicted.
Well the personalities (as suggested) would work just fine in that case.

Another solution is to make a copy of the compiler you are using and change the settings in the original and copy as needed. Then, the developers would just need to pick the right compiler. But these settings were independent. (The project file would point to different compilers / settings though).