-
Notifications
You must be signed in to change notification settings - Fork 16
Building from Source
Adapted from the instructions on the forum.
- git
- cmake
-
working compiler (mingw, mingw64, visual studio 20xx)
- if you want to target windows xp with VS2012, you have to update it to the latest
- Get the sources
- Run cmake-gui
- Select source directory (ends with
\BlackboxZero
) - Select build directory (should not be the same as source directory)
- Configure
- Build
- Select source directory (ends with
- Open the Solution
- Build
- Build project install
git clone https://github.com/xzero450/bbclean-xzero450.git
There are two branches right now (as of january 2014):
- master: contains 1.17.1 as committed by Jonathan "xzero450".
- devel: contains the current development version
Switch to devel branch:
git checkout devel
then init submodules:
git submodule init
git submodule sync
git submodule update --recursive
Note: for a good git guide check out Wine's Wiki
Run cmake-gui (by default it's in C:\Program Files (x86)\CMake\bin\cmake-gui.exe
)
- Select bb's source directory (ends in
\BlackboxZero
) - Select the build directory (where the build-specific files will be)
- Click Configure (and select your build environment)
- Click Generate
Note: it is recommended to have a build directory separate from the source directory Note: the installation directory can be specified via command line or by modifying BlackBoxZero/CMakeLists.txt
Select your favorite configuration and hit F5
- i do not think the "do not overwrite config files" during building INSTALL target works correctly, so BACKUP YOUR CONFIGS
- some doc files seems to be missing in install dir
http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html [https://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/heliossr2](Eclipse (at least 3.6 i.e. Helios) or newer Kepler)
Then run cmake-gui for example.
if you want to have a control over compiler you may select the second radio button: