Use recursive glob instead of listing files explicitly.

This commit is contained in:
Tommy Nguyen 2019-07-29 00:06:42 -04:00
parent e73bd824fa
commit 5b81784a13
No known key found for this signature in database
GPG Key ID: 8E347123F020B734
2 changed files with 2 additions and 43 deletions

6
BUILD
View File

@ -4,12 +4,10 @@ exports_files([
"LICENSE.MIT"
])
load(":nlohmann_json.bzl", "nlohmann_json_hdrs", "nlohmann_json_srcs")
cc_library(
name = "nlohmann_json",
srcs = nlohmann_json_srcs,
hdrs = nlohmann_json_hdrs,
srcs = [],
hdrs = glob(["include/**/*.hpp"]),
includes = ["include"],
deps = [],
)

View File

@ -1,39 +0,0 @@
nlohmann_json_hdrs = [
"include/nlohmann/adl_serializer.hpp",
"include/nlohmann/json_fwd.hpp",
"include/nlohmann/thirdparty/hedley/hedley_undef.hpp",
"include/nlohmann/thirdparty/hedley/hedley.hpp",
"include/nlohmann/json.hpp",
"include/nlohmann/detail/json_pointer.hpp",
"include/nlohmann/detail/value_t.hpp",
"include/nlohmann/detail/input/json_sax.hpp",
"include/nlohmann/detail/input/lexer.hpp",
"include/nlohmann/detail/input/input_adapters.hpp",
"include/nlohmann/detail/input/position_t.hpp",
"include/nlohmann/detail/input/binary_reader.hpp",
"include/nlohmann/detail/input/parser.hpp",
"include/nlohmann/detail/iterators/internal_iterator.hpp",
"include/nlohmann/detail/iterators/iteration_proxy.hpp",
"include/nlohmann/detail/iterators/json_reverse_iterator.hpp",
"include/nlohmann/detail/iterators/iterator_traits.hpp",
"include/nlohmann/detail/iterators/iter_impl.hpp",
"include/nlohmann/detail/iterators/primitive_iterator.hpp",
"include/nlohmann/detail/json_ref.hpp",
"include/nlohmann/detail/macro_scope.hpp",
"include/nlohmann/detail/macro_unscope.hpp",
"include/nlohmann/detail/exceptions.hpp",
"include/nlohmann/detail/output/output_adapters.hpp",
"include/nlohmann/detail/output/serializer.hpp",
"include/nlohmann/detail/output/binary_writer.hpp",
"include/nlohmann/detail/conversions/from_json.hpp",
"include/nlohmann/detail/conversions/to_chars.hpp",
"include/nlohmann/detail/conversions/to_json.hpp",
"include/nlohmann/detail/meta/void_t.hpp",
"include/nlohmann/detail/meta/cpp_future.hpp",
"include/nlohmann/detail/meta/detected.hpp",
"include/nlohmann/detail/meta/is_sax.hpp",
"include/nlohmann/detail/meta/type_traits.hpp",
]
nlohmann_json_srcs = [
]