diff options
| -rw-r--r-- | .buckconfig | 7 | ||||
| -rw-r--r-- | .gitignore | 5 | ||||
| -rw-r--r-- | BUCK | 35 | 
3 files changed, 47 insertions, 0 deletions
| diff --git a/.buckconfig b/.buckconfig new file mode 100644 index 0000000..71543fc --- /dev/null +++ b/.buckconfig @@ -0,0 +1,7 @@ +[project] +  ignore = .git + +[cxx] +  should_remap_host_platform = true +  untracked_headers = error +  untracked_headers_whitelist = /usr/include/.*, /usr/lib/gcc/.* @@ -47,3 +47,8 @@ Makefile  *-prefix  gitlike  /pages/ + +# Buck +/buck-out/ +/.buckd/ +.buckconfig.local @@ -0,0 +1,35 @@ +prebuilt_cxx_library( +  name = 'args',  +  header_namespace = '',  +  header_only = True,  +  exported_headers = [ +    'args.hxx',  +  ],  +  visibility = [ +    'PUBLIC',  +  ], +) + +cxx_binary( +  name = 'test',  +  header_namespace = '',  +  headers = [ +    'catch.hpp',  +  ],  +  srcs = [ +    'test.cxx',  +  ],  +  deps = [ +    ':args',  +  ],  +) + +cxx_binary( +  name = 'gitlike',  +  srcs = [ +    'gitlike.cxx',  +  ],  +  deps = [ +    ':args',  +  ],  +) | 
