Macro in project's environement
Posted: Wed Sep 07, 2011 10:45 pm
Hi,
I use Codelite 3.0.5051, self build on a linux (x86_64) workstation
I have a custom makefile project
I would like to define an environnement variable in the project, using a macro.
so I try this :
but when I build the project, the value of MYVAR is -
Setting a variable without macro is working fine.
Also, if a try :
where ANOTHERVAR is defined in codelite environement, MYVAR has the good value.
Did I make something wrong ?
Is there a bug ?
I use Codelite 3.0.5051, self build on a linux (x86_64) workstation
I have a custom makefile project
I would like to define an environnement variable in the project, using a macro.
so I try this :
Code: Select all
MYVAR=$(ProjectName)-$(ConfigurationName)
Setting a variable without macro is working fine.
Also, if a try :
Code: Select all
MYVAR=$(ANOTHERVAR)
Did I make something wrong ?
Is there a bug ?