Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Pecan on March 14, 2007, 03:47:04 pm

Title: Wrong $(variables) output
Post by: Pecan on March 14, 2007, 03:47:04 pm
During post processing I get the following output for:

cmd /c echo $(TARGET_OUTPUT_DIR)
cmd /c echo $(TARGET_NAME)
cmd /c echo $(TARGET_OUTPUT_FILE)

C:\Usr\Proj\ThreadSearch\
Debug
.\bin\Debug\ThreadSearch.dll

Shouldn't number 1 be:

 C:\Usr\Proj\ThreadSearch\.bin\Debug\
Title: Re: Wrong $(variables) output
Post by: bigbug on March 14, 2007, 04:34:14 pm
I also think so. (http://forums.codeblocks.org/index.php/topic,3930.0.html) ;)
Title: Re: Wrong $(variables) output
Post by: jomeggs on March 14, 2007, 05:21:59 pm
Shouldn't number 1 be:

 C:\Usr\Proj\ThreadSearch\.bin\Debug\

That's not all, there is something wrong with these variables.

For both projects you will see "./test1".  :(

It seems to me, that the variable expansion works only for the currently activatet project.