On 2018-02-08 19:33-0000 Arjen Markus wrote:

So: Is it possible to instruct CMake to use the NAG-Fortran specific
settings [for the Cygwin and MinGW-w64/MSYS2 platforms] and if so, how do I do 
that?

Hi Arjen:

I think you should be guided by what goes on for gfortran. For that
compiler, the relevant Platform files are called
CYGWIN-GNU-Fortran.cmake and Windows-GNU-Fortran.cmake Platform files
for the Cygwin, and MinGW-w64/MSYS2 platforms.  Furthermore, in all
the existing nagfor cases (Linux and Darwin), you derive the
nagfor-related name from the gfortran related name by replacing
GNU-Fortran by NAG-Fortran. Therefore, I suggest you try the names
CYGWIN-NAG-Fortran.cmake and Windows-NAG-Fortran.cmake for the two
separate Platform files you are trying to create for the Cygwin and
MinGW-w64/MSYS2 platforms.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
--

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