26 lines
500 B
Markdown
26 lines
500 B
Markdown
|
# hhmake 设计档
|
|||
|
|
|||
|
## 语言
|
|||
|
|
|||
|
Lua或某种脚本语言(反正肯定不能是要求编译的那种语言...)
|
|||
|
|
|||
|
## 功能
|
|||
|
|
|||
|
一个词: build
|
|||
|
|
|||
|
两个词: build and deploy
|
|||
|
|
|||
|
三个词: build, test and deploy
|
|||
|
|
|||
|
gcc/g++是必须支持的,最好也能支持cl. 要是能生成makefile或者sln就好了,但是那样好像就又成了一个cmake.
|
|||
|
|
|||
|
## 具体设计方向
|
|||
|
|
|||
|
### API设计
|
|||
|
|
|||
|
pushIncludeDir(includeDir) 添加包含目录
|
|||
|
|
|||
|
pushLinkDir(linkDir) 添加链接目录
|
|||
|
|
|||
|
pushLib(libname) 添加链接库
|