View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010639CMakeCMakepublic2010-04-29 05:482011-04-04 12:00
ReporterGabriel Kalkuhl 
Assigned ToDavid Cole 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in VersionCMake 2.8.3 
Summary0010639: Generating Visual Studio 2010 targets with a dot in its name fails
DescriptionFor Visual Studio 2010 Workspaces, cmake uses the function GetFilenameWithoutExtension() for generating the TargetName property. If your target name contains dots (like target.ora10, target.ora11) the resulting target will be named with the first fragment (target.exe). Different targets could not be distinguished.

solution:
By changing in file cmVisualStudio10TargetGenerator.cxx line 786 from

*this->BuildFileStream << cmSystemTools::GetFilenameWithoutExtension(
to
*this->BuildFileStream << cmSystemTools::GetFilenameWithoutLastExtension(

will resolve the problem.

Please check if you can adopt this patch.

Regards
Gabriel
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0010611closedDavid Cole VS2010 generator doesn't handle executable names with periods. 
related to 0010040closedDavid Cole VS2010 generator does not handle project names containing periods ('.') 

  Notes
(0024118)
David Cole (manager)
2010-12-14 18:55

Duplicate bug was already fixed in CMake 2.8.3
(0026046)
David Cole (manager)
2011-04-04 12:00

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2010-04-29 05:48 Gabriel Kalkuhl New Issue
2010-12-14 18:54 David Cole Assigned To => David Cole
2010-12-14 18:54 David Cole Status new => assigned
2010-12-14 18:55 David Cole Note Added: 0024118
2010-12-14 18:55 David Cole Relationship added duplicate of 0010611
2010-12-14 18:55 David Cole Status assigned => resolved
2010-12-14 18:55 David Cole Fixed in Version => CMake 2.8.3
2010-12-14 18:55 David Cole Resolution open => duplicate
2010-12-14 18:56 David Cole Relationship added related to 0010040
2011-04-04 12:00 David Cole Note Added: 0026046
2011-04-04 12:00 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team