set cmake variable from custom command before every build

前端 未结 0 896
花落未央
花落未央 2020-11-30 00:14

How can I run a custom command before every build and pass the result to a cmake variable?

I know I can do that on the terminal for example
cmake -DMY_VAR

相关标签:
回答
  • 消灭零回复
提交回复
热议问题