On 2018-02-13 12:32-0500 Brad King wrote:
On 2/9/2018 2:36 AM, Arjen Markus wrote:
From: Alan W. Irwin
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
I think those names are correct. However, the status of CMake
for MSYS2-native builds is unclear. See below.
I have a Platform file “Windows-NAG-Fortran.cmake” and that is used
correctly if I start the NAG Fortran environment (using the MinGW
but if I try the same with MinGWw-w64/MSYS2, this file is clearly ignored
What is the value of CMAKE_SYSTEM_NAME that is detected?
Typically this should be "Windows" for a Windows-native CMake
and "CYGWIN" for a cygwin-built CMake that is linked against the
cygwin runtime library.
For MSYS2 what CMake are you running? A Windows CMake or one
that came packaged by MSYS2? Does the latter link against the
msys2 runtime library?
While waiting for Arjen to respond from his European time zone to that
question, which cmake package for MinGW-w64/MSYS2 do you usually
recommend? The cmake package from the mingw64 repository or the cmake
package from the msys2 repository?
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).
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
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
Follow this link to subscribe/unsubscribe: