Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Wrong $(variables) output
(1/1)
Pecan:
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\
bigbug:
I also think so. ;)
jomeggs:
--- Quote from: Pecan on March 14, 2007, 03:47:04 pm ---Shouldn't number 1 be:
C:\Usr\Proj\ThreadSearch\.bin\Debug\
--- End quote ---
That's not all, there is something wrong with these variables.
* Create two new console projects (test 1 and test2) in a workspace
* add "cmd /c $(TARGET_OUTPUT_FILE)" to both in pre-build steps
* activate first project
* try "build workspace"
For both projects you will see "./test1". :(
It seems to me, that the variable expansion works only for the currently activatet project.
Navigation
[0] Message Index
Go to full version