MantisBT - CMake
View Issue Details
0005093CMakeCMakepublic2007-05-27 02:152016-06-10 14:30
Gonzalo Garramuno 
Bill Hoffman 
urgentmajoralways
closedmoved 
 
 
0005093: Targets with directory names in them will create wrong Makefile (CMake should not allow this, and give an error)
When running under -G "NMake Makefiles", targets that contain directories will create an incorrect nmake file.

See for example line 230 of the attached file.

This happens whenever you add a rule like:
    ADD_LIBRARY( "directory/libname" ... )
CMake should check for invalid characters in target names.
No tags attached.
? build.make (25,448) 1969-12-31 19:00
https://public.kitware.com/Bug/file/1015/build.make
Issue History
2008-10-10 10:38Bill HoffmanSummaryTargets with directory names in them will create wrong Makefile => Targets with directory names in them will create wrong Makefile (CMake should not allow this, and give an error)
2008-10-10 10:38Bill HoffmanAdditional Information Updated
2016-06-10 14:27Kitware RobotNote Added: 0041361
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0041361)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.