-
Notifications
You must be signed in to change notification settings - Fork 89
Building
Michael Sartain edited this page Sep 5, 2017
·
6 revisions
- C++11
- SDL2 w/ OpenGL
- Linux requires Freetype
- Linux requires GTK3 (if you want open trace dialog)
- Using make
- Build release version using Makefile
make
- Build debug with address sanitizer and open dialog disabled
USE_GTK3=0 ASAN=0 CFG=debug make
- Verbose release build with clang
VERBOSE=1 CC=clang CXX=clang++ make
- Binaries placed in
_release
/_debug
directories
- Build release version using Makefile
- Using cmake
- Build release
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make
- Build debug
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make
- Build release
set SDL2DIR=c:\dev\SDL2-2.0.5
mkdir build
cd build
cmake -G "NMake Makefiles JOM" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_FREETYPE=False ..
jom