41 lines
1.7 KiB
Python
41 lines
1.7 KiB
Python
###############################################################################
|
|
# Bazel now uses Bzlmod by default to manage external dependencies.
|
|
# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel.
|
|
#
|
|
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
|
|
###############################################################################
|
|
"DocString to avoid warning. Yeah, yeah, I'll figure this out later."
|
|
|
|
module(name = "sbf")
|
|
|
|
# Core C++ dependencies
|
|
bazel_dep(name = "rules_cc", version = "0.0.17")
|
|
bazel_dep(name = "bazel_skylib", version = "1.7.1")
|
|
|
|
# Platform dependencies
|
|
bazel_dep(name = "platforms", version = "0.0.10")
|
|
|
|
# Use protobuf if needed for your project
|
|
bazel_dep(name = "protobuf", version = "29.0")
|
|
|
|
# Google Abseil C++ library
|
|
bazel_dep(name = "abseil-cpp", version = "20240116.1", repo_name = "com_google_absl")
|
|
|
|
# Required only if using JSON functionality
|
|
bazel_dep(name = "jsoncpp", version = "1.9.5")
|
|
|
|
# Required for compression
|
|
bazel_dep(name = "zlib", version = "1.3.1.bcr.3")
|
|
|
|
# Hedron's Compile Commands Extractor for Bazel
|
|
# https://github.com/hedronvision/bazel-compile-commands-extractor
|
|
# To update config run `bazel run @hedron_compile_commands//:refresh_all`
|
|
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
|
|
git_override(
|
|
module_name = "hedron_compile_commands",
|
|
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
|
|
commit = "1e08f8e0507b6b6b1f4416a9a22cf5c28beaba93",
|
|
# Replace the commit hash (above) with the latest (https://github.com/hedronvision/bazel-compile-commands-extractor/commits/main).
|
|
# Even better, set up Renovate and let it do the work for you (see "Suggestion: Updates" in the README).
|
|
)
|