New features
- #68: Add
$(programdir)
and$(xmake)
builtin variables - add
is_host
api to get current host operating system - #79: Improve
xmake lua
to run interactive commands, read-eval-print (REPL)
Changes
- Modify option menu color.
- #71: Improve to map optimization flags for cl.exe
- #73: Attempt to get executable path as xmake's program directory
- Improve the scope of
xmake.lua
inadd_subdirs
and use independent sub-scope to avoid dirty scope - #78: Get terminal size in runtime and soft-wrap the help printing
- Avoid generate
.xmake
directory if be not in project
Bugs fixed
- #67: Fix
sudo make install
permission problem - #70: Fix check android compiler error
- Fix temporary file path conflict
- Fix
os.host
andos.arch
interfaces - Fix interpreter bug for loading root api
- #77: fix
cprint
no color reset eol
新特性
改进
- 修改菜单选项颜色
- #71: 针对widows编译器改进优化选项映射
- #73: 尝试获取可执行文件路径来作为xmake的脚本目录
- 在
add_subdirs
中的子xmake.lua
中,使用独立子作用域,避免作用域污染导致的干扰问题 - #78: 美化非全屏终端窗口下的
xmake --help
输出 - 避免产生不必要的
.xmake
目录,如果不在工程中的时候