MantisBT - CMake
View Issue Details
0014171CMakeCMakepublic2013-05-26 06:132013-10-07 10:09
Adi Shavit 
Brad King 
normalminoralways
closedduplicate 
Visual Studio 2008/2010/2012
CMake 2.8.11 
 
0014171: "ASM List Location" Path Error
On all Visual Studio 2008/2010/2012 IDEs, when requesting assembly output. The build gives:
> cl : Command line error D8036 : '/FaRelease' not allowed with multiple source files

The reason is that the path entered by CMake needs to have a trailing slash, i.e. 'Release\' instead of 'Release' in Project Properties->C/C++->Output Files->ASM List Location.
1. Generate a Visual Studio solution (2008 in this example)
2. Go to project properties
3. Under "Configuration Properties"->"C/C++"->"Output Files"->"Assembler Output" select, "Assembly With Source Code (/FAs)".
4. Note that "ASM List Location" already has a value, e.g. "Release".
5. OK. Build.
6. See compilation error.

If the value in (4) get an trailing '/' or '\', the build succeeds and the assembly files are generated.
No tags attached.
duplicate of 0014153closed Brad King Visual Studio project wrong AssemblerListingLocation (/Fa) default (and override!) 
Issue History
2013-05-26 06:13Adi ShavitNew Issue
2013-05-28 09:37Brad KingRelationship addedduplicate of 0014153
2013-05-28 09:38Brad KingNote Added: 0033142
2013-05-28 09:38Brad KingAssigned To => Brad King
2013-05-28 09:38Brad KingStatusnew => resolved
2013-05-28 09:38Brad KingResolutionopen => duplicate
2013-10-07 10:09Robert MaynardNote Added: 0034067
2013-10-07 10:09Robert MaynardStatusresolved => closed

Notes
(0033142)
Brad King   
2013-05-28 09:38   
This was fixed for issue 0014153 here:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7e0c45e9 [^]
(0034067)
Robert Maynard   
2013-10-07 10:09   
Closing resolved issues that have not been updated in more than 4 months.