def removeOldCMakeFiles(self):
if self.cmake_build_info["old_cmake_dir"].is_dir():
print("Cleaning up Old CMake Directory")
subprocess.call(
["rm", "-rf",
str(self.cmake_build_info["old_cmake_dir"])],
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL)
for path in self.cmake_build_info["old_cmake_files"]:
if path.is_file():
print("Cleaning up Old CMake Files")
subprocess.call(
["rm", str(path)],
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL)
评论列表
文章目录