mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
tools: fix idf.py to be able to select a generator for build
This commit is contained in:
@@ -213,6 +213,9 @@ def ensure_build_directory(args, prog_name, always_run_cmake=False):
|
||||
os.remove(cache_path)
|
||||
raise
|
||||
|
||||
# need to update cache so subsequent access in this method would reflect the result of the previous cmake run
|
||||
cache = _parse_cmakecache(cache_path) if os.path.exists(cache_path) else {}
|
||||
|
||||
try:
|
||||
generator = cache["CMAKE_GENERATOR"]
|
||||
except KeyError:
|
||||
|
Reference in New Issue
Block a user