MCPcopy Create free account
hub / github.com/XiaoBaiiiiii/colmap-pcd / build_gflags

Function build_gflags

scripts/python/build.py:322–334  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

320
321
322def build_gflags(args):
323 path = os.path.join(args.build_path, "gflags")
324 if os.path.exists(path):
325 return
326
327 url = "https://github.com/gflags/gflags/archive/v2.2.2.zip"
328 archive_path = os.path.join(args.download_path, "gflags-2.2.2.zip")
329 download_zipfile(url, archive_path, args.build_path,
330 "ff856ff64757f1381f7da260f79ba79b")
331 shutil.move(os.path.join(args.build_path, "gflags-2.2.2"), path)
332 os.remove(os.path.join(path, "BUILD"))
333
334 build_cmake_project(args, os.path.join(path, "__build__"))
335
336
337def build_glog(args):

Callers 1

mainFunction · 0.85

Calls 2

download_zipfileFunction · 0.85
build_cmake_projectFunction · 0.85

Tested by

no test coverage detected