MantisBT - CMake
View Issue Details
0000065CMakeCMakepublic2003-07-08 09:162007-08-28 14:42
System Admin 
Brad King 
urgentminoralways
closedfixed 
 
 
0000065: CMAKE_CURRENT_(BINARY|SOURCE)_DIR does not work correctly when being inherrited
CMAKE_CURRENT_(BINARY|SOURCE)_DIR are set by makefile, so they contain the current directory and not the directory of the cmakelists file.

What we really need is an implicit set at beginnoing of every cmakelists file.
No tags attached.
Issue History
2007-08-28 14:42Zack GalbreathProjectGCC-XML => CMake
2007-08-28 14:42Zack GalbreathAssigned ToCurtis Padgett => Brad King
2007-08-28 14:42Zack GalbreathStatusassigned => closed
2007-08-28 14:42Zack GalbreathResolutionduplicate => fixed
2007-08-28 14:42Zack GalbreathCategory => CMake
2007-08-28 14:42Zack GalbreathSummaryGoodsite => CMAKE_CURRENT_(BINARY|SOURCE)_DIR does not work correctly when being inherrited
2007-08-28 14:42Zack GalbreathNote Deleted: 0008231

Notes
(0000009)
Brad King   
2003-07-08 13:29   
Bug was in cmMakefile::ReadListFile. It set the ivars for the current src/bin dirs directly instead of calling SetCurrentDirectory and SetCurrentOutputDirectory. Fixed in CVS revision 1.222 of cmMakefile.cxx.