* Added Buck build

This commit is contained in:
njlr 2017-03-08 19:47:07 +00:00
parent 244b5b224b
commit bd4a458c31
5 changed files with 35 additions and 0 deletions

0
.buckconfig Normal file
View File

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
/buck-out/
/.buckd/
/buckaroo/
.buckconfig.local
BUCKAROO_DEPS

14
BUCK Normal file
View File

@ -0,0 +1,14 @@
include_defs('//BUCKAROO_DEPS')
prebuilt_cxx_library(
name = 'chaiscript',
header_only = True,
header_namespace = 'chaiscript',
exported_headers = subdir_glob([
('include/chaiscript', '**/*.hpp'),
]),
visibility = [
'PUBLIC',
],
deps = BUCKAROO_DEPS,
)

4
buckaroo.json Normal file
View File

@ -0,0 +1,4 @@
{
"name": "chaiscript",
"dependencies": {}
}

12
samples/BUCK Normal file
View File

@ -0,0 +1,12 @@
cxx_binary(
name = 'example',
srcs = [
'example.cpp',
],
compiler_flags = [
'-std=c++14',
],
deps = [
'//:chaiscript',
],
)