CMake: How can I compile defines and flags as string constants into my C(++) program?

后端 未结 0 657
别那么骄傲
别那么骄傲 2021-01-20 23:41

I\'d like my C or C++ program that is built via CMake to be able to print (or otherwise make use of) the macro definitions and (other) C/C++ flags it was compiled with. So I wan

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