Skip to content

Commit d97669f

Browse files
committed
Swift: add CMake target for xcode-autobuilder
1 parent 6d754c4 commit d97669f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

swift/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ project(codeql)
1414
include(../misc/bazel/cmake/setup.cmake)
1515

1616
include_generated(//swift/extractor:cmake)
17+
include_generated(//swift/xcode-autobuilder:cmake)

swift/xcode-autobuilder/BUILD.bazel

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
load("//swift:rules.bzl", "swift_cc_binary")
2+
load("//misc/bazel/cmake:cmake.bzl", "generate_cmake")
23

34
swift_cc_binary(
45
name = "xcode-autobuilder",
@@ -12,3 +13,9 @@ swift_cc_binary(
1213
"-framework CoreFoundation",
1314
],
1415
)
16+
17+
generate_cmake(
18+
name = "cmake",
19+
targets = [":xcode-autobuilder"],
20+
visibility = ["//visibility:public"],
21+
)

0 commit comments

Comments
 (0)