Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: killerbot on January 12, 2021, 06:19:38 pm

Title: bug in global variables substitution
Post by: killerbot on January 12, 2021, 06:19:38 pm
it seems when you use a global variable in the file specifications of a project like :

      <Unit filename="${#cmakebuild}/foo/bar/test.cpp" />

then the global variable does not get substituted, doing similar thing for the include directories does work, there substitution does occur.

Title: Re: bug in global variables substitution
Post by: oBFusCATed on January 12, 2021, 07:26:40 pm
Writing cbp files by hand is not supported. :)
Projects have massive amounts of file, so doing replace marcos on every path won't be any good for load times, which aren't really good even without it.