Adding bazel build targets (#251)

Adding support for the bazel build system
This commit is contained in:
silvergasp 2020-08-12 06:48:07 +08:00 committed by GitHub
parent 15e8a74e95
commit 05ca8e1cac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ CMakeFiles/
Testing/
CTestTestfile.cmake
cmake_install.cmake
bazel-*

8
BUILD Normal file
View File

@ -0,0 +1,8 @@
load("@rules_cc//cc:defs.bzl", "cc_library")
cc_library(
name = "cxxopts",
hdrs = ["include/cxxopts.hpp"],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
)

0
WORKSPACE Normal file
View File