Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Is it possible to get the profile/personality name?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Is it possible to get the profile/personality name? (Read 1147 times)
AndyJ
Multiple posting newcomer
Posts: 24
Is it possible to get the profile/personality name?
«
on:
December 15, 2023, 10:24:13 am »
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
Logged
Miguel Gimenez
Developer
Lives here!
Posts: 1576
Re: Is it possible to get the profile/personality name?
«
Reply #1 on:
December 15, 2023, 11:16:55 am »
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.
Logged
Pecan
Plugin developer
Lives here!
Posts: 2784
Re: Is it possible to get the profile/personality name?
«
Reply #2 on:
December 15, 2023, 06:41:15 pm »
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.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Is it possible to get the profile/personality name?