Comments (4)
- makefile 文件是有用的,task 中实际上是运行了
{
"label": "compile",
"type": "shell",
"command": "mingw32-make",
"args": [
"target=${fileBasenameNoExtension}"
],
"group": {
"kind": "build",
"isDefault": true
}
}
也就是运行了 makefile 中的步骤。
2. publish 批处理文件已经被删除了,自从在 rm 这些 linux 指令可以在 Windows 中使用的时候。请直接使用 【运行任务】中的【clean】来删除临时文件。如果你的 Windows 系统不能使用 rm 等指令,可以在应用商店安装 WSL 。
from c51.
- makefile 文件是有用的,task 中实际上是运行了
{ "label": "compile", "type": "shell", "command": "mingw32-make", "args": [ "target=${fileBasenameNoExtension}" ], "group": { "kind": "build", "isDefault": true } }
也就是运行了 makefile 中的步骤。
2. publish 批处理文件已经被删除了,自从在 rm 这些 linux 指令可以在 Windows 中使用的时候。请直接使用 【运行任务】中的【clean】来删除临时文件。如果你的 Windows 系统不能使用 rm 等指令,可以在应用商店安装 WSL 。
根据官方文档,编译不含main函数的c可以得到rel文件,然后可以最终实现多文件生成ihx文件,是否考虑加入这个功能实现不仅仅是单文件编译呢?
另外我尝试在task.json实现脱离makefile编译是可行的,是否可以考虑只用task.json来取代minggw的make程序的功能,让编译流程更简单?
"label": "Build 编译",
"type": "shell",
"command": "sdcc",
"args": [
"-c",
"${relativeFile}",
"-o",
"${fileDirname}\\..\\tmp\\"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
from c51.
from c51.
只写task作为单文件编译是可以的。我当时是想要做多文件编译所以写makefile,后来发现我没有这个实际需求,你如果需要编译多文件,可以改改makefile。
from c51.
Related Issues (5)
- 请问下载完成之后怎么使用,谢谢 HOT 4
- hex文件无法生成 HOT 1
- 报错 HOT 1
- 为什么Nov 8, 2019更新删去了publish.bat HOT 1
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 c51.