User forums > Using Code::Blocks

Is it possible to get the profile/personality name?

(1/1)

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.

Navigation

[0] Message Index

Go to full version