mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 08:46:53 +08:00
* Added Buck build
This commit is contained in:
parent
244b5b224b
commit
bd4a458c31
0
.buckconfig
Normal file
0
.buckconfig
Normal file
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
/buck-out/
|
||||
/.buckd/
|
||||
/buckaroo/
|
||||
.buckconfig.local
|
||||
BUCKAROO_DEPS
|
||||
14
BUCK
Normal file
14
BUCK
Normal 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
4
buckaroo.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "chaiscript",
|
||||
"dependencies": {}
|
||||
}
|
||||
12
samples/BUCK
Normal file
12
samples/BUCK
Normal file
@ -0,0 +1,12 @@
|
||||
cxx_binary(
|
||||
name = 'example',
|
||||
srcs = [
|
||||
'example.cpp',
|
||||
],
|
||||
compiler_flags = [
|
||||
'-std=c++14',
|
||||
],
|
||||
deps = [
|
||||
'//:chaiscript',
|
||||
],
|
||||
)
|
||||
Loading…
x
Reference in New Issue
Block a user