[CMake] Support for fortran interoperability with C within CMake

2018-02-04 Thread David Vowles
Hello, As you may be aware recent Fortran standards have introduced the notion of standardised interoperability of Fortran with C. To enable practical implementation of standardised interoperability the Fortran standard has the notion of the Fortran compiler having a "companion C processor" - r

[CMake] Real arithmetic in CMake

2016-02-14 Thread David Vowles
Does CMake provide facilities to perform real arithmetic? My attempts using the MATH command fail - for example: math(EXPR R "5.2") yields the error: math cannot parse the expression: "5.2": syntax error, unexpected exp_NUMBER, expecting $end (3) --