-
Initially, and whenever you change the branch, or the
premake5.luafile, (re)run premake -
make sure you have the repository - see gettingTheSource
-
make sure you are in the
masterbranch, or have checked out the branch you want - see checking out an example branch -
make sure your branch is up to date - run
git pull
-
-
from the root of the repository
./premake5.bat %ACTION% # (1) (2) (3)./premake5 $ACTION # (1) (2) (3)-
replace
ACTIONwith the tool you wish to use - e.g.vs2015orgmake -
uses the project specification given in the
premake5.luafile. Have a look at it if you’re interested. -
try
premake5 --helpfor the options
-
Load the
.slnfile -
Build and run the project you wish to explore - kbd:[F5]
-
if there are multiple projects, btn:[right-click] and select
make active projectto make that project build/run by default -
you can set the project to debug or release mode in the UI
-
make $EXAMPLE # (1) (2) (3) (4)
./src/$EXAMPLE/$EXAMPLE-debug # (5)-
replace
EXAMPLEwith the example you wish to run -
compile and link project
EXAMPLE. -
running just
makewill build all projects -
use
make $EXAMPLE config=releaseto build for release mode -
run
EXAMPLE. Strip off-debugfor release builds