[CMake] CXX incorrectly includes CMakeFortranInformation.cmake for MinGW/MSYS/Wine

Alan W. Irwin irwin at beluga.phys.uvic.ca
Sun Apr 4 21:23:57 EDT 2010


On 2010-04-04 16:16-0700 Alan W. Irwin wrote:

> In contrast to 3. The following succeeded:
>
> A. project(test CXX Fortran )
>
> B.
> project(test NONE )
> enable_language(Fortran )
> enable_language(CXX )

Subsequent tests showed those actually did not succeed.  There were no
obvious errors, but the cache variable CMAKE_CXX_COMPILER_WORKS was not set.

So it appears there is no current way to get CXX working properly for
MinGW/MSYS/Wine; there is always some failure due to the interference from
Fortran.  Hopefully, the fix will be easy to figure out from the
cmake --trace --debug-output results I attached to my first post,
but if the CMake developers need me to try any more experiments, let me know.

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); PLplot scientific plotting software
package (plplot.org); 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
__________________________


More information about the CMake mailing list