diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-05-22 20:10:35 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-05-22 20:10:35 (GMT) |
commit | 25c2ee32ae83ce9c93a16af880fc2a5df5d959f2 (patch) | |
tree | 25a3eedaa356d86480aaf14f72963e31b5547c80 /Source/cmake.cxx | |
parent | 108101c1dc9dec1ae105bf3347c080a7e35ea71d (diff) | |
download | CMake-25c2ee32ae83ce9c93a16af880fc2a5df5d959f2.zip CMake-25c2ee32ae83ce9c93a16af880fc2a5df5d959f2.tar.gz CMake-25c2ee32ae83ce9c93a16af880fc2a5df5d959f2.tar.bz2 |
COMP: fix bootstrap
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 7e7d2f7..a4e5640 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -977,6 +977,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args) // Command to start progress for a build else if (args[1] == "cmake_progress_start" && args.size() == 4) { +#if defined(CMAKE_BUILD_WITH_CMAKE) // bascially remove the directory std::string dirName = args[2]; dirName += "/Progress"; @@ -992,12 +993,14 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args) fprintf(progFile,"%i\n",count); fclose(progFile); } +#endif return 0; } // Command to report progress for a build else if (args[1] == "cmake_progress_report" && args.size() >= 4) { +#if defined(CMAKE_BUILD_WITH_CMAKE) std::string dirName = args[2]; dirName += "/Progress"; std::string fName; @@ -1033,6 +1036,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args) } fclose(progFile); } +#endif return 0; } |