Lines Matching full:path
22 def realpath(path): argument
24 Return the cannonical path with normalized case.
27 On Unix and Mac OS X it works as `os.path.realpath()` only.
29 return os.path.normcase(os.path.realpath(path))
33 version_path = os.path.join(os.environ['IDF_PATH'], 'tools/cmake/version.cmake')
50 def get_target(path, sdkconfig_filename='sdkconfig'): argument
51 path = os.path.join(path, sdkconfig_filename)
52 return get_sdkconfig_value(path, 'CONFIG_IDF_TARGET')
62 '--git-dir=%s' % os.path.join(os.environ['IDF_PATH'], '.git'),
123 def _parse_cmakecache(path): argument
125 Parse the CMakeCache file at 'path'.
132 with open(path, encoding='utf-8') as f:
143 if not os.path.exists(cache_path):
165 …"To use %s, either the 'ninja' or 'GNU make' build tool must be available in the PATH" % prog_name)
180 if not os.path.isdir(project_dir):
181 if not os.path.exists(project_dir):
185 if not os.path.exists(os.path.join(project_dir, 'CMakeLists.txt')):
190 if not os.path.isdir(build_dir):
194 cache_path = os.path.join(build_dir, 'CMakeCache.txt')
195 cache = _parse_cmakecache(cache_path) if os.path.exists(cache_path) else {}
224 if os.path.exists(cache_path):
229 cache = _parse_cmakecache(cache_path) if os.path.exists(cache_path) else {}
270 if not os.path.exists(sdkconfig_file):