Make ASAN a distinct build type from Debug

This commit is contained in:
2018-03-17 23:44:02 -05:00
parent 4c23a2d761
commit 585d79a219
4 changed files with 17 additions and 2 deletions

View File

@ -1,4 +1,4 @@
all: gba_build native_build native_debug_build windows_release windows_debug
all: gba_build native_build native_debug_build native_asan_build windows_release windows_debug
gba_build:
@if [ -d gba-release ]; then \
@ -15,6 +15,11 @@ native_debug_build:
cmake --build ${HOST_ENV}-debug --target ${ARGS}; \
fi
native_asan_build:
@if [ -d ${HOST_ENV}-asan ]; then \
cmake --build ${HOST_ENV}-asan --target ${ARGS}; \
fi
windows_release:
@if [ -d windows-release ]; then \
cmake --build windows-release --target ${ARGS}; \