CMake – Co-Developing in Windows and Linux

I’ve pretty much always developed in windows. Of course that causes a problem with the game contest I’m entering next month since they want the game to run in linux. Added to this complexity is the fact that I’d like friends to be able to test the game in the final weeks and none of them use linux as their operating system of choice. To solve these problems I have come across CMake. Once I get it fully working it will allow me to write a script that then can be run to make Visual Studio Project files for windows and development, and Make files for any linux builds. So far in tests I have been able to get the CMake scripts to work fairly well with windows. I’ll soon be booting up a linux VM to test the script there.

Leave a Reply

Your email address will not be published. Required fields are marked *