Treat Windows .rc files correctly in Fortran projects?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Treat Windows .rc files correctly in Fortran projects?

Magne Rudshaug



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. In a workin Visual Studio 2010 project the .rc file is found in a separate folder named "Resource files".

The ordinary Fortran files is found in the usual "Source files" folder. How can I get cmake to reproduce this?


Thanks in advance for any reply?




Powered by

Please keep messages on-topic and check the CMake FAQ at:

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe: