forked from facebookincubator/fizz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUCK
22 lines (20 loc) · 799 Bytes
/
BUCK
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
load("@fbcode_macros//build_defs:native_rules.bzl", "buck_genrule")
oncall("secure_pipes")
buck_genrule(
name = "fizz-config.h",
srcs = {file: file for file in glob([
"fizz/cmake/*",
"build/fbcode_builder/CMake/*",
])} |
{
"CMakeLists.txt": "//fizz:CMakeListsForBuck2.txt",
"fizz/cmake/CheckAtomic.cmake": "//fizz:cmake/CheckAtomic.cmake",
"fizz/cmake/FizzOptions.cmake": "//fizz:cmake/FizzOptions.cmake",
"fizz/fizz-config.h.in": "//fizz:fizz-config.h.in",
},
out = "fizz-config.h",
cmd = "cmake . && mv fizz/fizz-config.h $OUT",
default_target_platform = "prelude//platforms:default",
labels = ["third-party:homebrew:cmake"],
remote = False,
)