[CMake] CMake and multiple Microsoft compilers on windows
Bill Hoffman
bill.hoffman at kitware.com
Fri Mar 20 21:42:05 EDT 2009
John Drescher wrote:
> On Fri, Mar 20, 2009 at 5:42 PM, John Drescher <drescherjm at gmail.com> wrote:
>>> If you select "Visual Studio 8 2005" as a generator, it should not use VC6.
>>> Please make sure you start with an empty binary directory, with no
>>> CmakeCache.txt file.
>>>
>> I just created a new build tree selected vs2005 and it still used the
>> vc6 compiler:
>>
> Attached is a screen shot. The folder X:/temp/Test did not exist
> before I ran cmake.
>
OK, I am pretty sure (99.9%) it is not actually using that compiler for
the tests. The CMAKE_CXX_COMPILER value is not actually used by the
visual studio IDE projects. However, that does seem to be some
disturbing output.... I need to change the platform files so that the
cl full path is not searched for. Please create a bug report.
If you want to prove it to yourself you can run cmake with
--debug-trycompile and look at the projects it is using for trycompiles.
-Bill
More information about the CMake
mailing list