The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=11598 ====================================================================== Reported By: Petr Petrov Assigned To: ====================================================================== Project: CMake Issue ID: 11598 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2010-12-11 08:43 EST Last Modified: 2010-12-11 08:43 EST ====================================================================== Summary: Two 'ALL_BUILD' projects into generated solution Description: Hello!
I have just found that the latest Cmake from night build has a bug. I have downloaded and installed the following version of the CMake: http://www.cmake.org/files/dev/cmake-2.8.3.20101210-gb7ea1-win32-x86.zip I have tried to build my big project and it fails. I have opened the generated solutions and see the following: Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ALL_BUILD", "D:\build_area\ds\ds1_oem\build\ALL_BUILD.vcxproj", "{BE1796D4-BCB8-4EA0-89ED-BC4F61E950AF}" ProjectSection(ProjectDependencies) = postProject {0B60C193-A8B6-43D5-9D52-036B3923E6FC} = {0B60C193-A8B6-43D5-9D52-036B3923E6FC} {D557CA1C-0A66-4243-977D-1F5B4097613C} = {D557CA1C-0A66-4243-977D-1F5B4097613C} // Another dependencies EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ALL_BUILD", "D:\build_area\ds\ds1_oem\build\unreleased_area\unrel_example1\ALL_BUILD.vcxproj", "{BE1796D4-BCB8-4EA0-89ED-BC4F61E950AF}" ProjectSection(ProjectDependencies) = postProject {F9F0A3B9-ECE8-4AC3-B49E-E971D7389D76} = {F9F0A3B9-ECE8-4AC3-B49E-E971D7389D76} EndProjectSection EndProject So, the generated solution has TWO 'ALL_BUILD' VC project entries! msbuild or Microsoft Visual Studio IDE does not want to build such solution! I have tried both VC2008 and VC2010 generators. All have the same result! I can not share my big project. But I have found that Cmake's sources produces also the same bad solution file. So, you can reproduce this bug. P.S. Thanks to Brad King for fixing the following bug: http://public.kitware.com/Bug/view.php?id=11594 Steps to Reproduce: 1) Download and install the latest Cmake from http://www.cmake.org/files/dev/cmake-2.8.3.20101210-gb7ea1-win32-x86.exe 2) Download the sources of Cmake from http://www.cmake.org/files/dev/cmake-2.8.3.20101210-gb7ea1.zip 3) Using cmake binaries from 1) generate solution and project files for VC2008 or VC2010 (I prefer VC2008 generator, it is much stable) for downloaded sources of the cmake from 2) 4) Open the generated solution into Microsoft Visual Studio 2008 IDE. It should show the error message that the solution file has two 'ALL_BUILD' project. It is possible to compile this project. But in batch mode (for VC2010 generator) it is impossible. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2010-12-11 08:43 Petr Petrov New Issue ====================================================================== _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
