cc_project_template_bazel

A Bazel, ninja, and googletest-based C++ project template
git clone https://git.bracken.jp/cc_project_template_bazel.git
Log | Files | Refs | README | LICENSE

WORKSPACE (735B)


      1 workspace(name = "cc_template")
      2 
      3 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
      4 
      5 # abseil-cpp
      6 http_archive(
      7   name = "com_google_absl",
      8   urls = ["https://github.com/abseil/abseil-cpp/archive/b832dce8489ef7b6231384909fd9b68d5a5ff2b7.zip"],
      9   strip_prefix = "abseil-cpp-b832dce8489ef7b6231384909fd9b68d5a5ff2b7",
     10   sha256 = "6b54129c89707e66d1c33705501a87cb1659223e7e0d4e27d923956065fac6d9",
     11 )
     12 
     13 # Google Test
     14 http_archive(
     15   name = "com_google_googletest",
     16   urls = ["https://github.com/google/googletest/archive/703bd9caab50b139428cea1aaff9974ebee5742e.zip"],
     17   strip_prefix = "googletest-703bd9caab50b139428cea1aaff9974ebee5742e",
     18   sha256 = "2db427be8b258ad401177c411c2a7c2f6bc78548a04f1a23576cc62616d9cd38",
     19 )