Comments (5)
其实有预留参数的, 没暴露出来, 我测试下加上
from c_cpp_project_framework.
好了, 支持好了, 使用方法也写了: 更换工程生成器 。
提交详情: 9ed1455
from c_cpp_project_framework.
Hi Neutree,
感谢您的及时修复,
我使用最新的代码遇到了问题,
使用 Ninja 生成器可以 build,
但是 menuconfig 失败。
作为对比,使用默认的 Unix 生成器,可以 menuconfig 。
操作环境:
Windows 10 和 Windows 10 WSL2 。
上图是 python project.py menuconfig
失败的日志,运行环境为 Windows10 WSL2 。
其他信息:
$ python --version
Python 3.10.5
$ cmake --version
cmake version 3.22.5
CMake suite maintained and supported by Kitware (kitware.com/cmake).
$ ninja --version
1.10.0
git 位置:
murphy@DESKTOP-BT532EP:~/work/cmake-work/c_cpp_project_framework$ git log -1
commit a64e67e4a60844e2d6c940a7f101f0f2b60e3d96 (HEAD -> master, origin/master, origin/HEAD)
Author: Neucrack <[email protected]>
Date: Fri Jul 15 14:03:58 2022 +0800
optimize project.py
murphy@DESKTOP-BT532EP:~/work/cmake-work/c_cpp_project_framework/tools/kconfig/Kconfiglib$ git log -1
commit 53c72959ac4d71f99913e4b0eea99261a6585430 (HEAD)
Author: Ulf Magnusson <[email protected]>
Date: Sat Aug 3 03:19:35 2019 +0200
Add a .gitignore that ignores *.pyc
Might avoid some pain in projects that use Kconfiglib as a submodule.
Fixes https://github.com/ulfalizer/Kconfiglib/issues/74.
from c_cpp_project_framework.
Ninja 调用 shell 命令的方式好像有点特殊, 不能进入交互模式, 不知道怎么解决。
目前的解决方法就是绕过 Ninja,不使用 Ninja 来调用 menuconfig 命令, 而是直接 python 调用 menuconfig 命令。
已经提交了更新: e6887b8
from c_cpp_project_framework.
非常感谢,目前可以在 ninja 配置下使用 python project.py menuconfig
打开 menuconfig 。
我看到 zephyr 支持使用 ninja menuconfig
,等闲下来的时候再研究下,目前已经可以满足使用啦,多谢。
from c_cpp_project_framework.
Related Issues (6)
- 如何添加复杂开源组件 HOT 5
- 项目管理脚本 HOT 3
- 组件分类 HOT 7
- 使用 cmake 编译时的代码版本问题 HOT 1
- 怎样给 toolchain 文件传递参数 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c_cpp_project_framework.