[CMake] MSVC71 problems when upgrading to CMake 2.6.2

Luke Kucalaba lkucalaba at dsci.com
Thu Oct 9 13:13:13 EDT 2008


I spoke too soon when I said it worked fine.  I was mistaken as to which
machine I was working on when I said that.  I have two virtually
identical machines, one with CMake 2.4.7 and another with CMake 2.6.2.  

Anyway, I wrote that simple example project that illustrates the
problem.  This project works correctly with CMake 2.4.7 but the compiler
flags are incorrect for the Util target with CMake 2.6.2.  I wrote a
simple batch script to generate the msvc71 files.  Just cd to the
extraction folder and execute runcmake.bat.

I attached to this email, hopefully the cmake mailing list allows
attachments...

Thanks
Luke

-----Original Message-----
From: Luke Kucalaba 
Sent: Thursday, October 09, 2008 12:54 PM
To: 'Bill Hoffman'
Cc: cmake at cmake.org
Subject: RE: [CMake] MSVC71 problems when upgrading to CMake 2.6.2

I wrote a simple example project that is structured similarly to our
real project, and it worked fine.  I am going to keep working on this
example project to get closer and closer to the real project until we
isolate exactly what the problem is.  Thanks for the suggestion.

Luke

-----Original Message-----
From: Bill Hoffman [mailto:bill.hoffman at kitware.com] 
Sent: Thursday, October 09, 2008 12:19 PM
To: Luke Kucalaba
Cc: cmake at cmake.org
Subject: Re: [CMake] MSVC71 problems when upgrading to CMake 2.6.2

Luke Kucalaba wrote:
> Our software team is having problems upgrading to CMake 2.6.2 from our

> current working build system that uses CMake 2.4.7.  In particular, we

> are using the "Visual Studio 7 .NET 2003", "NMake Makefiles", "Unix 
> Makefiles", and "CodeBlocks - Unix Makefiles" project/makefile
generators.
> 
>  

It would be helpful if you could create a smaller test case that shows 
this problem.  From what you have said it does not sound that hard to 
create.   So, please provide a complete example for me to try.

-Bill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeTest.zip
Type: application/x-zip-compressed
Size: 1777 bytes
Desc: CMakeTest.zip
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081009/434eb8c6/attachment.bin>


More information about the CMake mailing list