aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornjlr <njlr@users.noreply.github.com>2018-10-19 14:15:11 +0100
committernjlr <njlr@users.noreply.github.com>2018-10-19 14:15:11 +0100
commit106293b0d782082df5f32caa163e9581ed066a0b (patch)
tree5472428dbde28fc076fad0a063dd806c3486f790
parent * Adds Buck build support (diff)
downloadargs.hxx-106293b0d782082df5f32caa163e9581ed066a0b.tar.xz
* Updates BUCK files
-rw-r--r--BUCK12
-rw-r--r--examples/BUCK19
-rw-r--r--test/BUCK29
3 files changed, 49 insertions, 11 deletions
diff --git a/BUCK b/BUCK
index 7c6e98a..7a1ec05 100644
--- a/BUCK
+++ b/BUCK
@@ -20,16 +20,6 @@ cxx_binary(
'test.cxx',
],
deps = [
- ':args',
- ],
-)
-
-cxx_binary(
- name = 'gitlike',
- srcs = [
- 'gitlike.cxx',
- ],
- deps = [
- ':args',
+ '//:args',
],
)
diff --git a/examples/BUCK b/examples/BUCK
new file mode 100644
index 0000000..2f5b01b
--- /dev/null
+++ b/examples/BUCK
@@ -0,0 +1,19 @@
+cxx_binary(
+ name = 'gitlike',
+ srcs = [
+ 'gitlike.cxx',
+ ],
+ deps = [
+ '//:args',
+ ],
+)
+
+cxx_binary(
+ name = 'completion',
+ srcs = [
+ 'completion.cxx',
+ ],
+ deps = [
+ '//:args',
+ ],
+)
diff --git a/test/BUCK b/test/BUCK
new file mode 100644
index 0000000..de76295
--- /dev/null
+++ b/test/BUCK
@@ -0,0 +1,29 @@
+cxx_binary(
+ name = 'multiple-inclusion-1',
+ srcs = [
+ 'multiple_inclusion_1.cxx',
+ ],
+ deps = [
+ '//:args',
+ ],
+)
+
+cxx_binary(
+ name = 'multiple-inclusion-2',
+ srcs = [
+ 'multiple_inclusion_2.cxx',
+ ],
+ deps = [
+ '//:args',
+ ],
+)
+
+cxx_binary(
+ name = 'windows-h',
+ srcs = [
+ 'windows_h.cxx',
+ ],
+ deps = [
+ '//:args',
+ ],
+) \ No newline at end of file