MantisBT - CMake
View Issue Details
0011741CMakeCMakepublic2011-01-21 03:502011-05-02 14:46
Matthäus G. Chajdas 
David Cole 
normalmajoralways
closedduplicate 
CMake 2.8.3 
 
0011741: ASM files generate broken vcproj files for Visual Studio 2010/x64
LLVM exhibits are problem with CMake 2.8.3 A file gets added twice to the project file, resulting in an error:

X86CompilationCallback_Win64
Get LLVM source: svn co http://llvm.org/svn/llvm-project/llvm/trunk [^] llvm for revision 123972

Run a configure with CMake-gui for VS 2010/x64.

Open the solution, resulting in B:\Dev\Testing\LLVM\build-x64\lib\Target\X86\LLVMX86CodeGen.vcxproj : error : The item "X86CompilationCallback_Win64.obj" already exists under the filter "".
The project contains:

  <ItemGroup>
    <None Include="B:/Dev/Testing/LLVM/build-x64/lib/Target/X86/X86CompilationCallback_Win64.obj" />
  </ItemGroup>

and

    <ClInclude Include="X86CompilationCallback_Win64.obj" />

Removing the empty item group (for instance) fixes the issue.
No tags attached.
duplicate of 0011147closed David Cole VC10 error "item ... already exists under the filter" 
Issue History
2011-01-21 03:50Matthäus G. ChajdasNew Issue
2011-01-21 07:30Brad KingNote Added: 0024988
2011-01-21 08:45Matthäus G. ChajdasNote Added: 0024989
2011-01-21 10:37David ColeAssigned To => David Cole
2011-01-21 10:37David ColeStatusnew => assigned
2011-01-21 10:38David ColeNote Added: 0024991
2011-01-21 10:39David ColeNote Added: 0024992
2011-01-21 10:39David ColeRelationship addedduplicate of 0011147
2011-01-21 10:39David ColeStatusassigned => resolved
2011-01-21 10:39David ColeResolutionopen => duplicate
2011-05-02 14:46David ColeNote Added: 0026373
2011-05-02 14:46David ColeStatusresolved => closed

Notes
(0024988)
Brad King   
2011-01-21 07:30   
Does this still happen in 2.8.4-rc1:

  http://www.cmake.org/files/v2.8/ [^]

?
(0024989)
Matthäus G. Chajdas   
2011-01-21 08:45   
Yes, it's still broken with 2.8.4-rc1, exactly the same error.
(0024991)
David Cole   
2011-01-21 10:38   
Yes, it does still occur in 2.8.4-rc1 : this is a duplicate of 11147.

What are the odds of that? 11741 is a duplicate of its anagram, 11147...
(0024992)
David Cole   
2011-01-21 10:39   
Working on a fix now. Hoping to get it into CMake 2.8.4 still...
(0026373)
David Cole   
2011-05-02 14:46   
Closing resolved issues that have not been updated in more than 3 months.