Author Topic: bug in global variables substitution  (Read 4457 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
bug in global variables substitution
« 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.


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: bug in global variables substitution
« Reply #1 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]