Skip to content

v0.0.12

Choose a tag to compare

@github-actions github-actions released this 25 Dec 18:31
· 4 commits to main since this release

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