View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010652CMakeCMakepublic2010-04-30 14:352011-04-04 12:00
ReporterRobert Ioffe 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in VersionCMake 2.8.4 
Summary0010652: Wrong closing XML tag in project generations
DescriptionFor one of my projects, <CLInclude> tag is closed with </ClCompile> tag:

<ClInclude Include="..\..\..\tests\test_hardware_enum\affinity_resources.c">
      <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">CompileAsC</CompileAs>
      <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsC</CompileAs>
      <CompileAs Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">CompileAsC</CompileAs>
      <CompileAs Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">CompileAsC</CompileAs>
    </ClCompile>


When I change ClCompile to ClInclude manually, I am able to load the project, but on later regenerations the issue reoccurs, obviously.
Additional InformationI use the following command after creating targets:
set_source_files_properties(test_hardware_enum_lrb.cpp affinity_resources.c PROPERTIES HEADER_FILE_ONLY true)

Not sure if that affects the situation
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0011404closedBill Hoffman VS2010 generator broken by: set_source_files_properties(file.h PROPERTIES LANGUAGE "C") 

  Notes
(0020496)
Robert Ioffe (reporter)
2010-04-30 14:36

Forgot to add that I am using CMake 2.8.1 to generate Visual Studio 2010 64-bit projects
(0024117)
David Cole (manager)
2010-12-14 18:52

Duplicate bug is slated for fixing in CMake 2.8.4. Monitor that one to receive updates.
(0026045)
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-30 14:35 Robert Ioffe New Issue
2010-04-30 14:36 Robert Ioffe Note Added: 0020496
2010-12-14 18:52 David Cole Assigned To => Bill Hoffman
2010-12-14 18:52 David Cole Status new => assigned
2010-12-14 18:52 David Cole Note Added: 0024117
2010-12-14 18:52 David Cole Relationship added duplicate of 0011404
2010-12-14 18:52 David Cole Status assigned => resolved
2010-12-14 18:52 David Cole Fixed in Version => CMake 2.8.4
2010-12-14 18:52 David Cole Resolution open => duplicate
2011-04-04 12:00 David Cole Note Added: 0026045
2011-04-04 12:00 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team