Re: [CMake] #include and fortran dependencies

2012-03-05 Thread Arjen Markus
Hello, for whatever it is worth, C-style preprocessor commands are a non-standard feature. The Fortran standard itself defines only the "INCLUDE" statement (or directive). Perhaps you can solve this in a standard way by moving the logic to the CMakeLists.txt files rather than relying on (possibly

Re: [CMake] #include and fortran dependencies

2012-02-28 Thread Brad King
On 2/28/2012 11:06 AM, Dirk vanMeeuwen wrote: #include "fpp-Windows-definition.inc" MODULE MSG ... END MODULE However, when this module MSG is used, the project build order > generated by CMake is not correct (see attached small example). Fortran dependencies are supported, and the Intel Fortr

[CMake] #include and fortran dependencies

2012-02-28 Thread Dirk vanMeeuwen
Dear all, I am quite new to cmake and just started to setup cmake for a large project, consisting of mainly fortran code. We use the Intel compiler, version 12, for windows. This compiler supports the following code: #include "fpp-Windows-definition.inc" MODULE MSG ... END MODULE However, when