bounce/building.txt
Irlan bd09b243c2 use mvc for the testbed, update almost all tests, bugfixes, improvements, cleanup
Since I started altering the testbed for better maintainability, I prefered to drop this (tested) large change with a single commit. Some changes below:

Put some globals in their correct place,

Now Testbed uses the MVC pattern (Model-View Controller). This way it becomes better to maintain than using no pattern  in my opinion.

Fixed some bugs in the debug draw interface.

Of course, updated almost all tests because of the differences.

Update script.
2018-04-10 00:57:14 -03:00

40 lines
1021 B
Plaintext

Bounce uses premake for generating project files in a platform agnostic manner.
Grab premake from https://premake.github.io/.
Put premake into bounce/.
Visual Studio 2017
Ensure you have installed the Visual Studio 2015 libraries.
Say { premake5 vs2017 } on a command line.
Open build/vs2017/bounce.sln.
Set testbed as the startup project.
In the testbed debugging properties, set the Working Directory to ..\..\examples\testbed.
Press F5 to run.
Linux
On a clean Ubuntu 16.04 install these packages first:
mesa-common-dev
libgl1-mesa-dev
libglu1-mesa-dev
x32
Say { premake5 gmake } on a terminal.
From build/gmake say { make config="debug_x32" }.
Set the testbed directory as the working directory
Open testbed from /bin/x32/testbed/.
x64
Say { premake5 gmake } on a terminal.
From build/gmake say { make config="debug_x64" }.
Set the testbed directory as the working directory
Open testbed from /bin/x64/testbed/.
Mac
I don't run Mac currently and therefore can't test the build system in this platform.