This is a playground where I'm fooling around with OpenGL 4 and simulation.
There's three basic ways to build it:
- CMake
- Visual Studio 2015 (on Windows, natch)
- XCode (on Mac, natch)
From the project root directory:
$ mkdir build
$ cd build
$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ..
...
$ make
On Windows, I use the "MinGW Makefiles" option and then mingw32-make
.
There's also a Makefile
in the root directory to run the build from there.
Load up msvc/graphplay.sln
and build it.
The builds will be in msvc\Debug
and msvc\Release
, depending on the options you build with.
At the moment, the only working configuration with Visual Studio is the 32-bit Debug configuration.
Open up graphplay.xcodeproj
and build it. I don't build with XCode as often as I do CMake or Visual Studio, so it might not be 100% up-to-date.
After compiling, from the root directory:
$ ./build/graphplay/graphplay
To run the tests:
$ ./build/graphplay-test/graphplay-test
On Windows, the graphplay
executable uses the "Windows" subsystem, so it will not produce any output to the terminal. To help with debugging, there is a graphplay-console
executable on Windows which runs in a terminal and displays standard output to that shell.