Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started 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\
-
I also think so. (http://forums.codeblocks.org/index.php/topic,3930.0.html) ;)
-
Shouldn't number 1 be:
C:\Usr\Proj\ThreadSearch\.bin\Debug\
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.