Add lua support to cpp cocos2d-x project

I am asking a question on stackoverflow
Now I find a solution.
1.右击解决方案,添加项目,将"$(cocos2d-x-home)/scripting/lua/proj.win32/liblua.vcxproj"添加到解决方案
2.右击自己工程->属性->通用属性->添加新引用,勾选liblua,即可

Related Articles

Quote Of The Day