aboutsummaryrefslogtreecommitdiffstats
path: root/BUILD.bazel
diff options
context:
space:
mode:
authormisterg <misterg@google.com>2017-08-08 15:41:44 -0400
committermisterg <misterg@google.com>2017-08-08 15:41:44 -0400
commite66b6bc868055f92a35ae0784a11ce87ec936c4d (patch)
treec6ea26b50731b9f4caa5196836064a1eccd9ec88 /BUILD.bazel
parent40a909b4e543f865b4c35e9b31ad0f485ed32e62 (diff)
downloadgoogletest-e66b6bc868055f92a35ae0784a11ce87ec936c4d.tar.gz
googletest-e66b6bc868055f92a35ae0784a11ce87ec936c4d.tar.bz2
googletest-e66b6bc868055f92a35ae0784a11ce87ec936c4d.zip
WIP, win testing
Diffstat (limited to 'BUILD.bazel')
-rw-r--r--BUILD.bazel6
1 files changed, 3 insertions, 3 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
index 97315042..35123b84 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -94,10 +94,10 @@ cc_library(
],
),
hdrs = GTEST_HDRS,
- copts = ["-fexceptions"] + select(
+ copts = select(
{
- ":win": [],
- "//conditions:default": ["-pthread"],
+ ":win": ["-DGTEST_ENABLE_CATCH_EXCEPTIONS_=1"],
+ "//conditions:default": ["-fexceptions","-pthread"],
},
),
includes = [