[cmake-developers] [CMake 0014710]: Wrong value in VS .vcxproj project file

Mantis Bug Tracker mantis at public.kitware.com
Mon Jan 20 05:08:34 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14710 
====================================================================== 
Reported By:                Evgeny Grin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14710
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-01-20 05:08 EST
Last Modified:              2014-01-20 05:08 EST
====================================================================== 
Summary:                    Wrong value in VS .vcxproj project file
Description: 
Same for Visual Studio 10/11/12.

Set additional properties for asm files by

set_source_files_properties(${SOURCE_ASMS} PROPERTIES COMPILE_FLAGS /W2)

CMake produce .vcxproj with wrong string

      <WarningLevel
Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level2</WarningLevel>

that fail to compile with error

error MSB3693: Unable to execute Xaml task. The value "Level2" specified for
task parameter "WarningLevel" is not valid.

correct format is
      <WarningLevel
Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">2</WarningLevel>

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-01-20 05:08 Evgeny Grin    New Issue                                    
======================================================================



More information about the cmake-developers mailing list