The new build system based on CMake
has just been merged into master. This means that there are a few changes to how a build is compiled. A description of some common tasks can be found in the GitHub wiki: https://github.com/scp-fs2open/fs2open.github.com/wiki/CMake
Before you do anything, make sure you have updated your git submodules, either by running git submodule update --init --recursive
or by cloning the repository with the --recursive
flag.Changes on Windows:
Previously we maintained multiple project files for the individual Visual Studio versions. These are no longer needed and have been removed. Instead, CMake now generates these files. First, you need to download the latest version of CMake from the website I linked above. Then, follow the steps in the Readme
for generating your project files. The generated files are standard Visual Studio files so you can just open them using the standard methods.Changes on Linux:
There aren't a lot of conceptual changes here. Instead of running ./autogen.sh
you now need to run cmake
.Changes on Mac:
Similarly to Windows, you will now need to generate your project files. The process is similar to the Windows workflow so just follow those instructions.
If you have any troubles or questions about the new setup, I would be happy to answer them here or on IRC.