User forums > Using Code::Blocks

Problem with Tool variables

<< < (2/2)

DoMeN:
Tnx. That works now but now I have a new problem  :?. When I use $(RELEASE_OUTPUT_FILE) I get the name of output file which is ok. But when I use $(RELEASE_OUTPUT_DIR) I get the path to project file directory and not the path to the sub directory where the release file is. In menu "Project/target options" I wrote in the "output filename" text box the name of the executable and in the "Execution working dir" text box I wrote ./path_to_the_executable.
If I also write the path to the executable in the output filename then I have a problem that I can use the path only for the executable and not also for other files that need that path.
I'd really need the whole path to the executable in the tool "working directory" text box or a variable with the path to the sub folder but without the executable file name.

Navigation

[0] Message Index

[*] Previous page

Go to full version