From 91bfc0822855d39113301f4a483457b191aab50e Mon Sep 17 00:00:00 2001 From: Pavel Samolysov Date: Tue, 22 Jan 2019 10:46:59 +0300 Subject: Enable CI on Windows (appveyor) with Bazel Signed-off-by: Pavel Samolysov --- BUILD.bazel | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'BUILD.bazel') diff --git a/BUILD.bazel b/BUILD.bazel index a000471d..8d2f6bdb 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -135,6 +135,10 @@ cc_library( "googletest/samples/sample3-inl.h", "googletest/samples/sample4.h", ], + features = select({ + ":windows": ["windows_export_all_symbols"], + "//conditions:default": [], + }) ) cc_test( @@ -157,6 +161,7 @@ cc_test( "gtest_sample_lib", ":gtest_main", ], + linkstatic = 0, ) cc_test( -- cgit v1.2.3