简体   繁体   中英

Visual Studio compile “filter” as C and “filters” groups as C++

I have written the majority of my project in C++. However there are several "filters" or folders which need to be compiled as C and linked to the project. How can I configure this within VStudio? Thanks.

You can change the Language property by right-clicking on the individual files and setting Configuration Properties > C/C++ > Advanced > Compile As To Compile As C (/TC) . No such facility for the filter are present though.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM