I am setting a new build command and need to include the Geany project name as a variable. Is there one defined?
Regards, Robert
On Mon, 13 Mar 2023 at 00:27, cryoking--- via Users users@lists.geany.org wrote:
I am setting a new build command and need to include the Geany project name as a variable. Is there one defined?
No, only the substitutions listed in the manual https://www.geany.org/manual/current/index.html#substitutions-in-commands-an...
Cheers Lex
Regards, Robert _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Thanks Lex,
In my case project name is also the name of the projects directory, ex.: C:\Users\RCK\projects\project_name.
Is there a way to get the absolute project_name without the path?
I was able to do this once before but can't remember how.
I appreciate your help. Thanks again,
Regards, Robert
On Tue, 14 Mar 2023 at 02:43, cryoking--- via Users users@lists.geany.org wrote:
Thanks Lex,
In my case project name is also the name of the projects directory, ex.: C:\Users\RCK\projects\project_name.
Is there a way to get the absolute project_name without the path?
Not as part of Geany, maybe you can make a script that gets the basename and uses that in your command?
I was able to do this once before but can't remember how.
I appreciate your help. Thanks again,
Regards, Robert _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org