[cmake-developers] [CMake 0011633]: Incorrect generator for VC2008

Mantis Bug Tracker mantis at public.kitware.com
Mon Dec 20 10:48:26 EST 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11633 
====================================================================== 
Reported By:                Petr Petrov
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11633
Category:                   CMake
Reproducibility:            always
Severity:                   block
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2010-12-20 10:48 EST
Last Modified:              2010-12-20 10:48 EST
====================================================================== 
Summary:                    Incorrect generator for VC2008
Description: 
Please download the latest night build of cmake.
I have used the following:
http://www.cmake.org/files/dev/cmake-2.8.3.20101217-gbed32-win32-x86.exe

Using provided trivial example try to generate VC2008 project files.

Then try build by vcbuild.exe program, such as:
vcbuild.exe Test.sln

VCBuild.exe utility shows the following error:
Error: project 'ZERO_CHECK.vcproj' could not be found...

I think that this problem of VC2008 or vcbuild.exe utility from VC2008 - it DOES
NOT support full project paths in .sln files.

This problem relates to the following bug -
http://public.kitware.com/Bug/view.php?id=11598,
which was fixed by Brad King. In this fix the full project file paths are
written into solution\project files. It is OK for VC2010 generator, by for
VC2008 generator it causes additional problems.

I think that this patch should be applied only for VS2010 generator, not for
VS2008 generator. VC2008 generator should generate project's paths from the
current directory ".\SomePath" and etc (as before
http://public.kitware.com/Bug/view.php?id=11598 fix).

Steps to Reproduce: 
1) Unpack the provided .zip archive with test example (very simple example)
2) Generate VC2008 project files, by the following cmake version -
http://www.cmake.org/files/dev/cmake-2.8.3.20101217-gbed32-win32-x86.exe
3) Try to build by vcbuild.exe utility, such as vcbuild.exe TestPetrPetrov.sln
4) You will see the error message, the project building will be stop


Additional Information: 
Thanks to Brad King for fixing bugs!
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-20 10:48 Petr Petrov    New Issue                                    
2010-12-20 10:48 Petr Petrov    File Added: cmake_small_test.zip                
   
======================================================================




More information about the cmake-developers mailing list