MantisBT - CMake
View Issue Details
0009347CMakeCMakepublic2009-07-30 19:272016-06-10 14:30
Patrick Spendrin 
Brad King 
normalminoralways
closedmoved 
CMake-2-6 
 
0009347: CMake treats D: and d: different in add_subdirectory
in CMake 2.6.4 there is a small issue which gives the following error:

CMake Error at utilities/CMakeLists.txt:1 (add_subdirectory):
  add_subdirectory not given a binary directory but the given source
  directory
  "D:/kderoot/svn/tags/amarok/2.1.1/amarok/utilities/collectionscanner" is
  not a subdirectory of "d:/kderoot/svn/tags/amarok/2.1.1/amarok/utilities".
  When specifying an out-of-tree source a binary directory must be explicitly
  specified.

it can be fixed if the source path is set to D:/kderoot instead of d:/kderoot.
the call to cmake looks like that:
cmake -G "..." d:/kderoot/svn/tags/amarok/2.1.1/amarok/ .....

No tags attached.
Issue History
2009-07-30 19:27Patrick SpendrinNew Issue
2009-07-30 21:42Bill HoffmanStatusnew => assigned
2009-07-30 21:42Bill HoffmanAssigned To => Brad King
2009-07-31 08:45Brad KingNote Added: 0017027
2009-07-31 08:45Brad KingNote Edited: 0017027
2012-08-13 10:37Brad KingStatusassigned => backlog
2012-08-13 10:37Brad KingNote Added: 0030536
2016-06-10 14:27Kitware RobotNote Added: 0041583
2016-06-10 14:27Kitware RobotStatusbacklog => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0017027)
Brad King   
2009-07-31 08:45   
Please post a small example project (CMakeLists.txt files) that reproduces this problem.

(0030536)
Brad King   
2012-08-13 10:37   
Sending issues I'm not actively working on to the backlog to await someone with time for them.

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it:

 http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer or contributor who has the bandwidth to take it on.
(0041583)
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.