Building on Windows
Compiling
First read through building astron from source, if you haven't done so already, to set up Astron's build environment.
Preparing the VS Project
Currently, Astron only supports Visual Studio 2013 and above.
Preparing Astron for VisualStudio requires CMake. It is recommend to use the cmake-gui on Windows. (Download)
Under Where is the source code:
Enter the path to your clone of Astron.
For Where to build the binaries:
it is recommended to use a directory outside
of the repository like <ASTRON_PATH>/../build
or ../AstronBuild
.
Then, hit the Configure
button followed by the Generate
button.
Compiling
Using Visual Studio, open the solution generated by CMake at wherever you set
your build path. You should then be able to build the solution with VS.
By default, the keyboard shortcut for building the solution is the F7
key.
- To build Astron for release, change the build type to
Release
from within Visual Studio. - For developing with Trace and Debug messages, set it to
Debug
. - For development without extra messages, set it to
RelWithDebInfo
.