[CMake] cmake-gui leaves CMAKE_<language>_COMPILER_WORKS undefined for simple test case and CMake-2.6.4

Alan W. Irwin irwin at beluga.phys.uvic.ca
Thu Jul 16 02:37:57 EDT 2009


On 2009-07-15 22:54-0600 Clinton Stimpson wrote:

>
> I don't have much to say except that ccmake behaves the same as cmake-gui in 
> this case.
> You can add this at the end to see it.
> set(MYSTATUS ${CMAKE_CXX_COMPILER_WORKS} CACHE STRING "")

Thanks for pointing that out.  This can of worms just keeps getting worse
and worse.  I have confirmed your ccmake result by looking in the resulting
CMakeCache.txt file where (unlike the cmake result) no reference to
CMAKE_CXX_COMPILER_WORKS appears.

So is the issue some cache problem with language support that is exposed for
both ccmake and cmake-gui, but not cmake?

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