mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
23 lines
509 B
Python
23 lines
509 B
Python
load("//swift:rules.bzl", "swift_cc_binary")
|
|
load("//misc/bazel/cmake:cmake.bzl", "generate_cmake")
|
|
|
|
swift_cc_binary(
|
|
name = "xcode-autobuilder",
|
|
srcs = glob([
|
|
"*.cpp",
|
|
"*.h",
|
|
]),
|
|
visibility = ["//swift:__subpackages__"],
|
|
linkopts = [
|
|
"-lxml2",
|
|
"-framework CoreFoundation",
|
|
],
|
|
target_compatible_with = ["@platforms//os:macos"],
|
|
)
|
|
|
|
generate_cmake(
|
|
name = "cmake",
|
|
targets = [":xcode-autobuilder"],
|
|
visibility = ["//visibility:public"],
|
|
)
|