feat(tools): Added create-project argument to allow cpp project creation

Closes https://github.com/espressif/esp-idf/issues/16121
This commit is contained in:
Jakub Kocka
2026-04-28 09:24:20 +02:00
parent b1d68624e1
commit fb02854ad6
8 changed files with 58 additions and 10 deletions
+1
View File
@@ -340,6 +340,7 @@ if __name__ == '__main__':
_exclude_dirs = [
os.path.join(IDF_PATH, 'tools', 'test_build_system'),
os.path.join(IDF_PATH, 'tools', 'templates', 'sample_project'),
os.path.join(IDF_PATH, 'tools', 'templates', 'sample_project_cpp'),
os.path.join(IDF_PATH, 'tools', 'cmakev2', 'test'),
]
+3
View File
@@ -55,3 +55,6 @@ tools/templates/sample_component/main.c
tools/templates/sample_project/CMakeLists.txt
tools/templates/sample_project/main/CMakeLists.txt
tools/templates/sample_project/main/main.c
tools/templates/sample_project_cpp/CMakeLists.txt
tools/templates/sample_project_cpp/main/CMakeLists.txt
tools/templates/sample_project_cpp/main/main.cpp