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