linux下安装使用tolua++

cd tolua++-1.0.93

用vi 创建文件custom.py内容如下

## BEGIN custom.py

CCFLAGS = ['-I/usr/local/include/', '-O2', '-ansi']
LIBPATH = ['/usr/local/lib']
LIBS = ['lua', 'dl', 'm']
tolua_bin = 'tolua++'
tolua_lib = 'tolua++'
TOLUAPP = 'tolua++'

## END custom.py

scons all
scons install

你可能感兴趣的:(linux下安装使用tolua++)