Skip to content

Commit bd4a458

Browse files
committed
* Added Buck build
1 parent 244b5b2 commit bd4a458

5 files changed

Lines changed: 35 additions & 0 deletions

File tree

‎.buckconfig‎

Whitespace-only changes.

‎.gitignore‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/buck-out/
2+
/.buckd/
3+
/buckaroo/
4+
.buckconfig.local
5+
BUCKAROO_DEPS

‎BUCK‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
include_defs('//BUCKAROO_DEPS')
2+
3+
prebuilt_cxx_library(
4+
name = 'chaiscript',
5+
header_only = True,
6+
header_namespace = 'chaiscript',
7+
exported_headers = subdir_glob([
8+
('include/chaiscript', '**/*.hpp'),
9+
]),
10+
visibility = [
11+
'PUBLIC',
12+
],
13+
deps = BUCKAROO_DEPS,
14+
)

‎buckaroo.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "chaiscript",
3+
"dependencies": {}
4+
}

‎samples/BUCK‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
cxx_binary(
2+
name = 'example',
3+
srcs = [
4+
'example.cpp',
5+
],
6+
compiler_flags = [
7+
'-std=c++14',
8+
],
9+
deps = [
10+
'//:chaiscript',
11+
],
12+
)

0 commit comments

Comments
 (0)