News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Is it possible to get the profile/personality name?

Started by AndyJ, December 15, 2023, 10:24:13 AM

Previous topic - Next topic

AndyJ

Is it possible to get the current profile/personality name as a variable so that I can use it in paths etc within a project?

Thanks in advance for any help with this

Miguel Gimenez

The list of avaliable built-in variables is here. Looks like there are none related to personalities, but you can define your own variable in each personality.

Pecan

I define the personality variable in a .cmd file and use it to start codeblocks.exe.
That makes it available to any process in the .cmd file.