[cmake-developers] [CMake 0011819]: VS 2010 fails when PROJECT_LABEL contains :

2011-02-08 Thread Mantis Bug Tracker

The following issue has been SUBMITTED. 
== 
http://public.kitware.com/Bug/view.php?id=11819 
== 
Reported By:Ryan Pavlik
Assigned To:
== 
Project:CMake
Issue ID:   11819
Category:   CMake
Reproducibility:always
Severity:   major
Priority:   normal
Status: new
== 
Date Submitted: 2011-02-08 10:26 EST
Last Modified:  2011-02-08 10:26 EST
== 
Summary:VS 2010 fails when PROJECT_LABEL contains :
Description: 
Always reproducible - build fails as follows:

1-- Build started: Project: ZERO_CHECK, Configuration: Debug Win32 --
1Build started 2/8/2011 9:22:53 AM.
1PrepareForBuild:
1  Creating directory C:\Users\rpavlik\Desktop\build\bug-vc10\Debug\.
1InitializeBuildStatus:
1  Creating Win32\Debug\ZERO_CHECK\ZERO_CHECK.unsuccessfulbuild because
AlwaysCreate was specified.
1CustomBuild:
1  Checking Build System
1  CMake does not need to re-run because
C:/Users/rpavlik/Desktop/build/bug-vc10/CMakeFiles/generate.stamp is up-to-date.
1FinalizeBuildStatus:
1  Deleting file Win32\Debug\ZERO_CHECK\ZERO_CHECK.unsuccessfulbuild.
1  Touching Win32\Debug\ZERO_CHECK\ZERO_CHECK.lastbuildstate.
1
1Build succeeded.
1
1Time Elapsed 00:00:00.43
2-- Build started: Project: Core: Main App, Configuration: Debug Win32
--
2Build started 2/8/2011 9:22:54 AM.
2C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(253,5): error
MSB3491: Could not write lines to file app.dir\Debug\Core: Main
App.lastbuildstate. The given path's format is not supported.
2
2Build FAILED.
2
2Time Elapsed 00:00:00.04
3-- Skipped Build: Project: ALL_BUILD, Configuration: Debug Win32 --
3Project not selected to build for this solution configuration 
== Build: 1 succeeded, 1 failed, 0 up-to-date, 1 skipped ==

Steps to Reproduce: 
This self-contained CMakeLists.txt file (creating a dummy source file) should
work fine on VS 2008 and other generators, but fails to build on VS 2010.

cmake_minimum_required(VERSION 2.6.2)
project(example)

file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/main.cpp int main() { return 0; })
add_executable(app ${CMAKE_CURRENT_BINARY_DIR}/main.cpp)
set_property(TARGET
app
PROPERTY
PROJECT_LABEL
Core: Main App)
== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2011-02-08 10:26 Ryan PavlikNew Issue
==

___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] CPack RPM in next RC (if there is one)?

2011-02-08 Thread Eric Noulard
2011/2/8 Brad King brad.k...@kitware.com:
 On 02/06/2011 03:58 PM, Eric Noulard wrote:
 if there is one RC left before 2.8.4 it would be nice to include this 
 patchset.

 Does this fix a regression from a previous release?

No this is not a regression fix.
Just a wish to have ArchiveGenerator at the same level of component
packaging support
in the same version.

2.8.3 has component support for ArchiveGenerator (with a regression
against 2.8.2 which is fixed in 2.8.4-rc's)
and no component support at all for RPMGenerator.

2.8.4-rc2 has component for both ArchiveGenerator and RPMGenerator but
not at the same level.

not a big deal but this is a consistency request.

If there is no RC left then I'll wait for 2.8.5 and try to be more
on-time next time :-]
If there are could you tell us how many (1 or 2) and the approximate
release date.


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers