It is the same mechanism used to pass options manually with the Visual C++ compiler, in that you can pass them by adding to "Additional Options" under: "Configuration Properties", "C/C++", "Command Line":
To find out which subset of clang options are available, bring up a Visual Studio 2019 command prompt and type: clang-cl -?
This will first list the Microsoft compatibility options (ie the ones VC++ uses) and then follows up with the Clang options.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.