LTUI is a lua-based cross-platform character terminal UI interface library.
This framework is derived from the requirement of graphical menu configuration in xmake, similar to the menuconf of linux kernel to configure compilation parameters, so based on curses and lua, a complete set of cross- The character terminal u继续阅读 »
New features
Add --links, --linkdirs and --includedirs configure arguments
Add app2ipa plugin
Add dictionary syntax style for xmake.lua
Provide smart scanning and building mode without xmake.lua
Add set_xmakever api for xmake.lua
Add add_frameworks api for objc and swift
Support multi-languages extension and add golan继续阅读 »
xmake在xmake.lua中提供了 $(varname) 的语法,来支持内置变量的获取,例如:
lua
add_cxflags("-I$(buildir)")
它将会在在实际编译的时候,将内置的 buildir 变量转换为实际的构建输出目录:-I./build
并且这些变量在自定义脚本中,也是可以支持的,例如:
lua
target("test")
after_build(target)
print("build ok for $(plat)!")
end
这将会在编译完后,输出:
lua
build ok for macosx!
这些内置变量,大部分都是通过配置的时候,缓存的继续阅读 »