csdms / bmi-example-fortran

An example of wrapping a model written in Fortran with a BMI
https://bmi.csdms.io/
MIT License
4 stars 5 forks source link

Build on Windows #6

Closed mdpiper closed 5 years ago

mdpiper commented 5 years ago

This PR allows the example to be built on Windows. It's somewhat of a half-measure, though, because only static libraries are built and linked on Windows. (See #5.) The build/install process is unchanged on Linux and macOS, although the cmake build process was improved.

The Windows build has been tested with Intel Fortran and the flang compiler available through conda.