[cmake-commits] alex committed cmLocalGenerator.cxx 1.230 1.231
cmake.cxx 1.309 1.310 cmakemain.cxx 1.62 1.63
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Jul 17 10:44:11 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv27491/Source
Modified Files:
cmLocalGenerator.cxx cmake.cxx cmakemain.cxx
Log Message:
STYLE: fix line lengths and add "remove -f" to the docs
Alex
Index: cmLocalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalGenerator.cxx,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -d -r1.230 -r1.231
--- cmLocalGenerator.cxx 17 Jul 2007 13:25:08 -0000 1.230
+++ cmLocalGenerator.cxx 17 Jul 2007 14:44:09 -0000 1.231
@@ -65,7 +65,8 @@
void cmLocalGenerator::Configure()
{
- cmLocalGenerator* previousLg = this->GetGlobalGenerator()->GetCurrentLocalGenerator();
+ cmLocalGenerator* previousLg =
+ this->GetGlobalGenerator()->GetCurrentLocalGenerator();
this->GetGlobalGenerator()->SetCurrentLocalGenerator(this);
// make sure the CMakeFiles dir is there
Index: cmakemain.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmakemain.cxx,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- cmakemain.cxx 17 Jul 2007 13:25:08 -0000 1.62
+++ cmakemain.cxx 17 Jul 2007 14:44:09 -0000 1.63
@@ -211,12 +211,14 @@
return msg;
}
-static void cmakemainErrorCallback(const char* m, const char* title, bool& nomore, void *clientdata)
+static void cmakemainErrorCallback(const char* m, const char* title,
+ bool& nomore, void *clientdata)
{
std::cerr << m << cmakemainGetStack(clientdata) << std::endl << std::flush;
}
-static void cmakemainProgressCallback(const char *m, float prog, void* clientdata)
+static void cmakemainProgressCallback(const char *m, float prog,
+ void* clientdata)
{
cmMakefile* mf = cmakemainGetMakefile(clientdata);
std::string dir;
@@ -233,7 +235,7 @@
if ((prog < 0) || (!dir.empty()))
{
- std::cout << "-- " << m << dir << cmakemainGetStack(clientdata) << std::endl;
+ std::cout << "-- " << m << dir << cmakemainGetStack(clientdata)<<std::endl;
}
std::cout.flush();
Index: cmake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmake.cxx,v
retrieving revision 1.309
retrieving revision 1.310
diff -u -d -r1.309 -r1.310
--- cmake.cxx 16 Jul 2007 14:54:30 -0000 1.309
+++ cmake.cxx 17 Jul 2007 14:44:09 -0000 1.310
@@ -852,30 +852,32 @@
errorStream
<< "Usage: " << program << " -E [command] [arguments ...]\n"
<< "Available commands: \n"
- << " chdir dir cmd [args]... - run command in a given directory\n"
- << " copy file destination - copy file to destination (either file or "
- "directory)\n"
- << " copy_if_different in-file out-file - copy file if input has "
- "changed\n"
- << " copy_directory source destination - copy directory 'source' "
- "content to directory 'destination'\n"
+ << " chdir dir cmd [args]... - run command in a given directory\n"
+ << " copy file destination - copy file to destination (either file "
+ "or directory)\n"
+ << " copy_if_different in-file out-file - copy file if input has "
+ "changed\n"
+ << " copy_directory source destination - copy directory 'source' "
+ "content to directory 'destination'\n"
<< " compare_files file1 file2 - check if file1 is same as file2\n"
- << " echo [string]... - displays arguments as text\n"
- << " echo_append [string]... - displays arguments as text but no new"
- " line\n"
- << " environment - display the current enviroment\n"
- << " make_directory dir - create a directory\n"
- << " md5sum file1 [...] - compute md5sum of files\n"
- << " remove_directory dir - remove a directory and its contents\n"
- << " remove file1 file2 ... - remove the file(s)\n"
- << " tar [cxt][vfz] file.tar file/dir1 file/dir2 ... - create a tar.\n"
- << " time command [args] ... - run command and return elapsed time\n"
+ << " echo [string]... - displays arguments as text\n"
+ << " echo_append [string]... - displays arguments as text but no new "
+ "line\n"
+ << " environment - display the current enviroment\n"
+ << " make_directory dir - create a directory\n"
+ << " md5sum file1 [...] - compute md5sum of files\n"
+ << " remove_directory dir - remove a directory and its contents\n"
+ << " remove [-f] file1 file2 ... - remove the file(s), use -f to force "
+ "it\n"
+ << " tar [cxt][vfz] file.tar file/dir1 file/dir2 ... - create a tar "
+ "archive\n"
+ << " time command [args] ... - run command and return elapsed time\n"
#if defined(_WIN32) && !defined(__CYGWIN__)
- << " write_regv key value - write registry value\n"
- << " delete_regv key - delete registry value\n"
- << " comspec - on windows 9x use this for RunCommand\n"
+ << " write_regv key value - write registry value\n"
+ << " delete_regv key - delete registry value\n"
+ << " comspec - on windows 9x use this for RunCommand\n"
#else
- << " create_symlink old new - create a symbolic link new -> old\n"
+ << " create_symlink old new - create a symbolic link new -> old\n"
#endif
;
More information about the Cmake-commits
mailing list