Hi,

how does the project command looks inside your CMakeLists.txt file?

project(<name> LANGUAGES Fortran) should work

Cheers Volker

Am 15.11.2018 um 14:35 schrieb Magne Rudshaug:

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



--

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

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

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to