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..0bf9e3ad --- /dev/null +++ b/BUCK @@ -0,0 +1,11 @@ +prebuilt_cxx_library( + name = 'chaiscript', + header_only = True, + header_namespace = 'chaiscript', + exported_headers = subdir_glob([ + ('include/chaiscript', '**/*.hpp'), + ]), + visibility = [ + 'PUBLIC', + ], +) diff --git a/buckaroo.json b/buckaroo.json new file mode 100644 index 00000000..95db1764 --- /dev/null +++ b/buckaroo.json @@ -0,0 +1,3 @@ +{ + "name": "ChaiScript" +} 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', + ], +)