View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010610CMakeCMakepublic2010-04-25 21:462010-10-06 14:35
ReporterJarl Lindrud 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.3Fixed in VersionCMake 2.8.3 
Summary0010610: VS2010 generator does not handle C++ files with upper case CPP extension
DescriptionCreate two files, File1.cpp and File2.CPP (note the case difference). With this CMakeLists.txt:

PROJECT(Bug)
ADD_EXECUTABLE(Bug File1.cpp File2.CPP)

, run the VS2010 generator. Open the solution in VS2010, do a build, and File2.CPP will not be compiled.
Additional InformationI'm using cmake 2.8.1. When generating a VS2008 solution, it works fine.
TagsNo tags attached.
Attached Files

 Relationships
related to 0008943closedBill Hoffman NMake Makefiles does not include files with uppercase extensions 

  Notes
(0020512)
Rolf Eike Beer (developer)
2010-05-03 03:18

Related to 8943?
(0020540)
Bill Hoffman (manager)
2010-05-04 14:34

This seems more like a change in VS. CMake did nothing special for .CPP in VS 8 or 9.
(0022075)
Bill Hoffman (manager)
2010-09-02 14:12

I just pushed a fix for this into next for CMake.
(0022089)
Bill Hoffman (manager)
2010-09-04 10:30

So, I might be reverting this change....

The result of supporting .CPP is many failing tests:


http://www.cdash.org/CDash/queryTests.php?project=CMake&date=2010-09-04&filtercount=1&showfilters=1&field1=status/string&compare1=63&value1=Failed [^]

Seems that several unix compilers do not understand .CPP....
(0022134)
Bill Hoffman (manager)
2010-09-08 09:57

This is as fixed as it is going to be. It will work on WIN32.

 Issue History
Date Modified Username Field Change
2010-04-25 21:46 Jarl Lindrud New Issue
2010-05-03 03:18 Rolf Eike Beer Note Added: 0020512
2010-05-04 14:34 Bill Hoffman Note Added: 0020540
2010-05-04 14:35 Bill Hoffman Relationship added related to 0008943
2010-08-31 17:10 David Cole Status new => assigned
2010-08-31 17:10 David Cole Assigned To => Bill Hoffman
2010-08-31 17:53 David Cole Target Version => CMake 2.8.3
2010-09-02 14:12 Bill Hoffman Note Added: 0022075
2010-09-04 10:30 Bill Hoffman Note Added: 0022089
2010-09-08 09:57 Bill Hoffman Note Added: 0022134
2010-09-08 09:58 Bill Hoffman Status assigned => closed
2010-09-08 09:58 Bill Hoffman Resolution open => fixed
2010-10-06 14:35 David Cole Fixed in Version => CMake 2.8.3


Copyright © 2000 - 2018 MantisBT Team