[CMake] Windows .rc resource files in Fortran projects?

Magne Rudshaug Magne.Rudshaug at ife.no
Thu Nov 15 08:35:10 EST 2018


Hi,

In some of my Fortran projects I have Windows resource files of type .rc associated. Just listing this file along with the other Fortran source files doesn't work.
In this case the project is interpreted as a C/C++ project. How can I get cmake to treat the .rc file correctly (compiled by the resource compiler) and at the same
time interpret the project as a Fortran project?

Thanks in advance for any reply?

Magne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20181115/f208e155/attachment.html>


More information about the CMake mailing list