MantisBT - CMake
View Issue Details
0001114CMakeCMakepublic2004-08-25 16:012011-03-10 14:41
Klaas Holwerda 
David Cole 
normalmajoralways
closedfixed 
 
CMake-2-8 
0001114: "-" in target name is a problem
When using "-" in a target name in Cmake, the generated project file is wrong for vc6.

William A. Hoffman wrote:

It does seem to be the "-" in the name of the .dsp file.
It would seem that visual studio 6 does not support projects
with - in the name. If I try to use the IDE to create a new project
and I have a - in the name it says that I have an invalid project name.
So, I suppose we should change - to _ if a target has _ in the name.
No tags attached.
Issue History
2010-11-10 14:50David ColeAssigned ToKen Martin => David Cole
2010-11-10 14:51David ColeNote Added: 0023148
2010-11-10 14:51David ColeStatusassigned => resolved
2010-11-10 14:51David ColeFixed in Version => CMake-2-8
2010-11-10 14:51David ColeResolutionopen => fixed
2011-03-10 14:41David ColeNote Added: 0025736
2011-03-10 14:41David ColeStatusresolved => closed

Notes
(0023148)
David Cole   
2010-11-10 14:51   
This was fixed nearly 2 years ago by this commit:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=16f35e189e9af72be1422245391c4b3ba9cd826c [^]

The fix first appeared (I think) in CMake 2.8.0.
(0025736)
David Cole   
2011-03-10 14:41   
Closing resolved issues that have not been updated in more than 3 months.