- Cmake >= 2.8.2
- Git
- Python >= 3.0
- Vagrant (Plugins: Omnibus, Cachier)
git clone --recursive [email protected]:bigdatadev/modern-cpp-boilerplate.git
Valid configurations:
- Debug (-g)
- Release (-O3 -DNDEBUG)
- RelWithDebInfo (-O2 -g -DNDEBUG)
- MinSizeRel (-Os -DNDEBUG)
./scripts/build.py --toolchain gcc --config Debug
./scripts/build.py --toolchain gcc --config Release --test
./scripts/build.py --toolchain analyze --config Release --test
./scripts/build.py --toolchain sanitize-address --config Release --test
./scripts/build.py --toolchain sanitize-leak --config Release --test
./scripts/build.py --toolchain sanitize-memory --config Release --test
./scripts/build.py --toolchain sanitize-thread --config Release --test