Skip to content
Cong edited this page May 28, 2013 · 8 revisions

Prerequisites

Build cdogs-sdl executable

  1. Follow the MinGW developer setup instructions to build cdogs-sdl.exe.

Package installer

  1. Follow the Run CMake section of the Visual Studio developer setup to create Visual Studio projects. Beware the difference in CMake output directories.

  2. Open the Visual Studio solution and build the PACKAGE project, using the Release configuration.

  3. Copy cdogs-sdl.exe built using MinGW to /Release, overwriting the binaries there built by Visual Studio.

  4. In Visual Studio, build the PACKAGE project again. This time the package will be built using the MinGW-compiled binaries. The installer will be in /C-Dogs SDL-VERSION-win32.exe. Make sure to test it in Windows XP and Windows Vista/7/8.