Re: [CMake] Can't open module file *.mod

2019-02-05 Thread Petr Penzin
When I ran into the same issue, my workaround was to use file properties to set dependencies between files, but I don't think it is very robust solution. Would be curious to hear if there is a better way to do it. Best, Petr On 2/5/19 2:55 PM, Guido Giuntoli wrote: Hi I have a Fortran proje

[CMake] Adding new language - source dependencies

2018-11-24 Thread Petr Penzin
Hello, I have followed instructions in CMakeAddNewLanguage.txt [1] to add support for Haskell, but I am a bit stuck on detecting dependencies between source files. Haskell source compiles to a source file and an "interface file" (similar to Fortran module file), which is needed for compiling