View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009905CMakeCMakepublic2009-11-16 11:532013-08-06 17:42
ReporterMatthäus G. Chajdas 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.12Fixed in Version 
Summary0009905: Support for .asm files in the Visual Studio generators
DescriptionLLVM 2.6 has an .asm file in it's source tree (project: lib\Target\X86, LLVMX86CodeGen). The generated project files for VS2008/x64 try to compile this file with cl, which does not work.

The project file contains:

if( CMAKE_CL_64 )
  enable_language(ASM_MASM)
  set(sources ${sources} X86CompilationCallback_Win64.asm)
endif()

This should be the correct setup. It supposedly works on x86 (didn't try myself.)
Additional InformationChanging it manually to use ml64 -c $(InputPath) and setting the output to X86CompilationCallback_Win64.obj fixes the issue.
TagsNo tags attached.
Attached Files

 Relationships
related to 0008170closed Visual Studio 9 generator does not output Custom Build Tool command line for assembler sources 
related to 0011536closedPatrick R. Gansterer Can't use assembler files with Visual Studio 10 generator 

  Notes
(0018514)
Alex Neundorf (developer)
2009-11-22 05:10

Does it work if you use nmake Makefiles instead of the Visual Studio project ?

Alex
(0018726)
Matthäus G. Chajdas (reporter)
2009-12-08 16:27

Yes, it works using nmake -- just tried it, compiles fine.
(0018748)
Alex Neundorf (developer)
2009-12-09 15:13

Ok, so the issue is actually support for assembler files in the Visual Studio generators.
(0019601)
Brian Bassett (reporter)
2010-02-23 16:45

I just attached a patch for this bug to bug report 0008170.
(0026594)
David Cole (manager)
2011-05-25 17:00

Not for 2.8.5 - postponing until a future release
(0031260)
David Cole (manager)
2012-10-18 11:17

These bugs were deferred from target version 2.8.10 to 2.8.11 based on the responses to this email thread on the CMake developer's mailing list:

  http://public.kitware.com/pipermail/cmake-developers/2012-October/005434.html [^]
(0031343)
viktor11111 (reporter)
2012-10-26 16:02
edited on: 2012-10-26 16:03

I just attached a patch for this bug to bug report http://www.cmake.org/Bug/view.php?id=8170#c31337 [^]

(0033675)
Patrick R. Gansterer (developer)
2013-08-06 17:42

VS10 support has been added in bug 11536 and the missing support for the other VS versions is tracked at bug 8170.

 Issue History
Date Modified Username Field Change
2009-11-16 11:53 Matthäus G. Chajdas New Issue
2009-11-19 16:36 Alex Neundorf Status new => assigned
2009-11-19 16:36 Alex Neundorf Assigned To => Alex Neundorf
2009-11-22 05:10 Alex Neundorf Note Added: 0018514
2009-12-08 16:27 Matthäus G. Chajdas Note Added: 0018726
2009-12-09 15:13 Alex Neundorf Note Added: 0018748
2009-12-09 15:14 Alex Neundorf Assigned To Alex Neundorf =>
2009-12-09 15:14 Alex Neundorf Summary .asm files are not built using ml64 with VS2008/x64, but with cl => Support for .asm files in the Visual Studio generators
2010-02-23 16:45 Brian Bassett Note Added: 0019601
2010-12-15 09:03 David Cole Assigned To => Bill Hoffman
2010-12-15 09:04 David Cole Relationship added related to 0008170
2011-03-10 15:05 Alex Neundorf Relationship added related to 0011536
2011-04-14 14:29 David Cole Target Version => CMake 2.8.5
2011-05-25 17:00 David Cole Note Added: 0026594
2011-05-25 17:00 David Cole Target Version CMake 2.8.5 =>
2012-08-20 11:50 David Cole Assigned To Bill Hoffman =>
2012-08-20 11:50 David Cole Status assigned => new
2012-08-20 11:50 David Cole Target Version => CMake 2.8.10
2012-10-18 11:16 David Cole Target Version CMake 2.8.10 => CMake 2.8.11
2012-10-18 11:17 David Cole Note Added: 0031260
2012-10-26 16:02 viktor11111 Note Added: 0031343
2012-10-26 16:02 viktor11111 Note Edited: 0031343
2012-10-26 16:03 viktor11111 Note Edited: 0031343
2013-05-17 09:33 Robert Maynard Target Version CMake 2.8.11 => CMake 2.8.12
2013-08-06 17:42 Patrick R. Gansterer Note Added: 0033675
2013-08-06 17:42 Patrick R. Gansterer Status new => closed
2013-08-06 17:42 Patrick R. Gansterer Resolution open => duplicate


Copyright © 2000 - 2018 MantisBT Team