Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含 C++ 和 Fortran 源代码的项目。事情正在编译和链接正常,但我通过add_compiler_options. 但是,这会向 gfortran 发出 C++ 警告。有没有办法指定每种语言的编译器选项?
add_compiler_options