Add design
This commit is contained in:
parent
e0405fb0bb
commit
9125fd6b9a
25
Design.md
Normal file
25
Design.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# hhmake 设计档
|
||||
|
||||
## 语言
|
||||
|
||||
Lua或某种脚本语言(反正肯定不能是要求编译的那种语言...)
|
||||
|
||||
## 功能
|
||||
|
||||
一个词: build
|
||||
|
||||
两个词: build and deploy
|
||||
|
||||
三个词: build, test and deploy
|
||||
|
||||
gcc/g++是必须支持的,最好也能支持cl. 要是能生成makefile或者sln就好了,但是那样好像就又成了一个cmake.
|
||||
|
||||
## 具体设计方向
|
||||
|
||||
### API设计
|
||||
|
||||
pushIncludeDir(includeDir) 添加包含目录
|
||||
|
||||
pushLinkDir(linkDir) 添加链接目录
|
||||
|
||||
pushLib(libname) 添加链接库
|
Reference in New Issue
Block a user