diff options
author | misterg <misterg@google.com> | 2017-08-08 19:41:44 (GMT) |
---|---|---|
committer | misterg <misterg@google.com> | 2017-08-08 19:41:44 (GMT) |
commit | e66b6bc868055f92a35ae0784a11ce87ec936c4d (patch) | |
tree | c6ea26b50731b9f4caa5196836064a1eccd9ec88 /BUILD.bazel | |
parent | 40a909b4e543f865b4c35e9b31ad0f485ed32e62 (diff) | |
download | googletest-e66b6bc868055f92a35ae0784a11ce87ec936c4d.zip googletest-e66b6bc868055f92a35ae0784a11ce87ec936c4d.tar.gz googletest-e66b6bc868055f92a35ae0784a11ce87ec936c4d.tar.bz2 |
WIP, win testing
Diffstat (limited to 'BUILD.bazel')
-rw-r--r-- | BUILD.bazel | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index 9731504..35123b8 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 = [ |