# 80 --------------------------------------------------------------------------- | |
config("compiler") { | |
if (is_win) { | |
if (is_component_build) { | |
cflags += [ | |
"/EHsc", # Assume C functions can't throw exceptions and don't catch | |
# structured exceptions (only C++ ones). | |
] | |
} | |
} | |
} |