Enable C++ exceptions on MSVC when building C++ tests

This commit is contained in:
Amanieu d'Antras 2019-10-26 02:47:06 +01:00
parent 246c606e75
commit 9a8bb3a26e

View File

@ -60,7 +60,7 @@ endif
ifdef IS_MSVC ifdef IS_MSVC
COMPILE_OBJ = $(CC) -c -Fo:`cygpath -w $(1)` $(2) COMPILE_OBJ = $(CC) -c -Fo:`cygpath -w $(1)` $(2)
COMPILE_OBJ_CXX = $(CXX) -c -Fo:`cygpath -w $(1)` $(2) COMPILE_OBJ_CXX = $(CXX) -EHs -c -Fo:`cygpath -w $(1)` $(2)
NATIVE_STATICLIB_FILE = $(1).lib NATIVE_STATICLIB_FILE = $(1).lib
NATIVE_STATICLIB = $(TMPDIR)/$(call NATIVE_STATICLIB_FILE,$(1)) NATIVE_STATICLIB = $(TMPDIR)/$(call NATIVE_STATICLIB_FILE,$(1))
OUT_EXE=-Fe:`cygpath -w $(TMPDIR)/$(call BIN,$(1))` \ OUT_EXE=-Fe:`cygpath -w $(TMPDIR)/$(call BIN,$(1))` \