User:Zachman/Setup
Development Setup
CMake
- Everything from the Developer config
- Ninja (faster than Make and less output)
CMAKE_CXX_COMPILER_LAUNCHER
, CMAKE_C_COMPILER_LAUNCHER
: ccache
CMAKE_CXX_FLAGS
, CMAKE_C_FLAGS
: -fdiagnostics-color=always
Color ninja output
WITH_LINKER_LLD
(faster than WITH_LINKER_GOLD)
Environment Variables
NINJA_STATUS="[%f/%t %p %e]"
Set the ninja status line to display targets, percent completion, and elapsed time.
ASAN_OPTIONS=abort_on_error=1
Cause GDB to stop when ASAN finds an error.
- LSAN_OPTIONS="print_suppressions=false:suppressions=$HOME/path/to/suppressions.txt"