Can't get the ProjectFiles macro to work

General questions regarding the usage of CodeLite
blackrider0x
CodeLite Curious
Posts: 2
Joined: Sun Sep 01, 2013 2:15 pm
Genuine User: Yes
IDE Question: c++
Contact:

Can't get the ProjectFiles macro to work

Post by blackrider0x »

I can't get the $(ProjectFiles) or $(ProjectFilesAbs) macro to work in post build.

They both evaluate to nothing, have they been deprecated or are there some trick to make them work?

Bjorn
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't get the ProjectFiles macro to work

Post by eranif »

They are not deprecated, its probably a bug.
Please provide an example of the command you are using

Thanks
Eran
Make sure you have read the HOW TO POST thread
blackrider0x
CodeLite Curious
Posts: 2
Joined: Sun Sep 01, 2013 2:15 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Can't get the ProjectFiles macro to work

Post by blackrider0x »

In "Pre/Posbuild Commands" -> "Post Build"

@echo "Date is" $(Date)
@echo "ProjectFiles is" $(ProjectFiles)
@echo "ProjectFilesAbs is" $(ProjectFilesAbs)

Result:

Date is 9/1/2013
ProjectFiles is
ProjectFilesAbs is
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't get the ProjectFiles macro to work

Post by eranif »

Thanks, will check it later on today

Eran
Make sure you have read the HOW TO POST thread
Post Reply