Skip to content

Build Infrastructure

Robosturm edited this page May 24, 2019 · 24 revisions

Setting up Commander Wars Build for Windows

  • Download Qt 5.12.3 (with mingw32) and Qt-Creator
  • (Optional) Build SDL2 in the 3rd-Party-Project according to the Oxygine Readme Cmake documentation. Copy the compiled libs to the libs-folder -> not required for windows build normally since i did it before hand.
  • Open the CmakeLists-Project with Qt-Creator.
  • Select Mingw32 as compiler-toolchain.
  • (Optional) Change the Install-Folder in the build settings
  • add a build step which builds the target Commander_Wars_translations to auto generate the translation files
  • build the project

Commander Wars for other OS

Commander Wars should be buildable for Mac OS, Android and Linux, since Qt, Oxygine and SDL2 support those operating systems. The only thing you need to do modify the CmakeLists-File for those operating systems. Since i don't own a PC with those operating systems i won't do anything work for this. However feel free to send me the changes required in the cmake-files.

Clone this wiki locally