I'm planning to create a new C++ project, write some C++ functions in it, embed a Lua engine with wxLua into it, make my C/C++ functions available to a Lua side and then write my main program (including the GUI) in Lua.
My IDE/compiler are Code::Blocks/GCC on Windows. I want to compile it for Windows, Linux and OSX.
My issues:
- compiling wxWidgets and Lua
- building wxLua
- creating a cross-platform project that knows which libs to use for which OS
I read a lot of documentation on wxLua and found that you should probably use wxWidgets 2.8.12 and Lua 5.2.3 (as they are the two latest stable and supported versions).
If possible, I'd like the program to be a standalone executable in the end.
So I guess I need to compile Lua and wxWidgets as .lib libraries (Windows) and .a libraries (Linux/OSX), is that correct? How would I do that?
Once that is done, what kind of project do I need to create and how would I embed wxLua into that project? I couldn't find a lot of information on that.
And finally, how would I tell my IDE/project/makefile(?) which libraries to use for which OS?