[Cmake-commits] [cmake-commits] alex committed cmake.cxx 1.383 1.384
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon May 12 16:54:48 EDT 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv17756
Modified Files:
cmake.cxx
Log Message:
BUG: make "cmake -Wno-dev ../srcdir" work, advancing i had the effect that
the argument after -Wno-dev was skipped, which happened to be the source
directory, and so the current working directory was assumed as source
directory, although it was the build directory (maybe this didn't have an
effect if there was already a CMakeCache.txt in the build dir)
Alex
Index: cmake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmake.cxx,v
retrieving revision 1.383
retrieving revision 1.384
diff -C 2 -d -r1.383 -r1.384
*** cmake.cxx 30 Apr 2008 17:42:40 -0000 1.383
--- cmake.cxx 12 May 2008 20:54:43 -0000 1.384
***************
*** 593,602 ****
{
// skip for now
- i++;
}
else if(arg.find("-Wdev",0) == 0)
{
// skip for now
- i++;
}
else if(arg.find("--graphviz=",0) == 0)
--- 593,600 ----
***************
*** 3508,3512 ****
break;
}
! fprintf(progFile,"%s with scope %s\n",ap->first.c_str(),scopeStr);
}
}
--- 3506,3510 ----
break;
}
! fprintf(progFile, "%s with scope %s\n", ap->first.c_str(), scopeStr);
}
}
More information about the Cmake-commits
mailing list