blob: 31aa9abeec793e53913aaafb36c27a3ae2c2f70e [file] [edit]
# Copyright 2020 The Abseil Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
load("//ci:cmake.bzl", "define_cmake_tests")
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
# Expose license for external usage through bazel.
exports_files([
"AUTHORS",
"LICENSE",
])
define_cmake_tests(
install_test_script = "CMake/install_test_project/test.sh",
root_srcs = [
"CMakeLists.txt",
"MODULE.bazel",
"create_lts.py",
] + glob(
["CMake/**"],
exclude = [
"**/BUILD",
"**/BUILD.bazel",
],
),
)
# For building with clang-cl.
# https://bazel.build/configure/windows#clang
platform(
name = "x64_windows-clang-cl",
constraint_values = [
"@platforms//cpu:x86_64",
"@platforms//os:windows",
"@bazel_tools//tools/cpp:clang-cl",
],
)