VSCode : how to define variables like -D in Cmake?

前端 未结 0 614
南旧
南旧 2020-12-02 14:46

In CMake I could add_definition(-DXXX=YYY) and use #ifdef XXX in c codes. However when I use vscode, I failed to define a variable globally, and the code in

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