Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Elena on March 08, 2021, 12:40:36 am
-
In project/targets options/build targets I can enter an output filename. Which format should I use to have the output filename corresponding to the project name ? Eg if my project is named Test I want the object being named eg. Test.dll. i tried bin\release\$(TARGET_OUTPUT_BASENAME).dll but if I do so the next time I open the project CB freezes and I have to ask windows to abort it the hard way (a bug ?). Thx
-
Can you provide minimal project which reproduces the freeze?
But I suppose you've created an infinite loop, because TARGET_OUTPUT_BASENAME has the value you've already set :)
Here is the list of all variables: http://wiki.codeblocks.org/index.php/Variable_expansion
I guess you need PROJECT_NAME...
-
Thanks PROJECT_NAME works :)
Perhaps a check should be made against such recursive situations though...
Sorry but I am quite new and ignored the vars
However it can easily be reproduced with any project it seems