I managed to get the master branch compiled for Linux on my Ubuntu 16.04 VM following your instructions, but I'd like to compile it for Windows to play on my host OS. How can I do that?
I see the win-toolchain.cmake file, but I'm unsure how to use it and didn't come across any documentation. I'm fluent on the command-line, but not with cmake/make.
edit: Based on this discussion (which I presume is you?), it looks like I need to modify the cmake command in setup-unix-build.sh to include -DCMAKE_TOOLCHAIN_FILE=../win-toolchain.cmake. Is that correct? I did that and I made some progress. However, cmake cannot find lua. Which is odd, since I did install liblua5.2-dev to make the Linux version and that compiled just fine.
I managed to get the master branch compiled for Linux on my Ubuntu 16.04 VM following your instructions, but I'd like to compile it for Windows to play on my host OS. How can I do that?
I see the win-toolchain.cmake file, but I'm unsure how to use it and didn't come across any documentation. I'm fluent on the command-line, but not with cmake/make.
edit: Based on this discussion (which I presume is you?), it looks like I need to modify the
cmakecommand insetup-unix-build.shto include-DCMAKE_TOOLCHAIN_FILE=../win-toolchain.cmake. Is that correct? I did that and I made some progress. However, cmake cannot find lua. Which is odd, since I did installliblua5.2-devto make the Linux version and that compiled just fine.