Repository navigation
v0.0.12
Add to your MODULE.bazel file:
bazel_dep(name = "rules_autoconf", version = "0.0.12")Add a config.h file that includes the generated header:
# pragma once
#include <rules_autoconf/config.h>Create a target combining them:
cc_library(
name = "config",
hdrs = ["config.h"],
deps = ["@rules_autoconf//:config"],
defines = select({
"@platforms//os:windows": [
"MORE_DEFINES_YOU_NEED",
],
"//conditions:default": [],
}),
visibility = ["//:__subpackages__"],
)
**Full Changelog**: https://github.com/dzbarsky/rules_autoconf/compare/v0.0.11...v0.0.12