MCPcopy Create free account
hub / github.com/comaps/comaps / get_cmake_cmd

Function get_cmake_cmd

tools/python/routing/src/utils.py:21–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def get_cmake_cmd():
22 for cmd in CommonConfig.CMAKE_BINS:
23 if not os.system(f'{cmd} --version > /dev/null 2>&1'):
24 return cmd
25 raise Exception(f'Cannot find cmake cmd, try: {CommonConfig.CMAKE_BINS}')
26
27
28def log_with_stars(string):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected