[CMake] MSYS and Intel Fortran/MSVC/C++

Arjen Markus arjen.markus at deltares.nl
Fri Dec 28 07:32:59 EST 2012


Hello,

I am trying to use the MinGW/MSYS environment on Windows (XP)
together with the MS Visual C/C++ and Intel Fortran compiler.
I need the MSYS environment because after building the programs
there is a whole bunch of tests that have to be run and the
MinGW/MSYS environment offers the tools for that.

I have to specify the compilers explicitly, because otherwise
the GNU compiler suite is chosen.

Unfortunately, I run into a problem with the archive program.
Whatever I use for this (via CMAKE_AR), CMake is not satisfied.
Any clues as to what archive program I am supposed to use?

An alternative might be to build the programs via gcc/gfortran
within MSYS, so that everything is ready and then replace the
programs by their Intel/MicroSoft versions before actually
running the tests, but that seems a trifle tricky and at the
very least cumbersome.

Regards,

Arjen

 

DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail.






More information about the CMake mailing list