diff --git a/.buckconfig b/.buckconfig new file mode 100644 index 00000000..e69de29b diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..9e6e4429 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/buck-out/ +/.buckd/ +/buckaroo/ +.buckconfig.local +BUCKAROO_DEPS diff --git a/BUCK b/BUCK new file mode 100644 index 00000000..e01db658 --- /dev/null +++ b/BUCK @@ -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, +) diff --git a/buckaroo.json b/buckaroo.json new file mode 100644 index 00000000..afc50314 --- /dev/null +++ b/buckaroo.json @@ -0,0 +1,4 @@ +{ + "name": "chaiscript", + "dependencies": {} +} diff --git a/samples/BUCK b/samples/BUCK new file mode 100644 index 00000000..7dd4982c --- /dev/null +++ b/samples/BUCK @@ -0,0 +1,12 @@ +cxx_binary( + name = 'example', + srcs = [ + 'example.cpp', + ], + compiler_flags = [ + '-std=c++14', + ], + deps = [ + '//:chaiscript', + ], +)