Skip to content

wep21/cmake_configure_file

Repository files navigation

cmake_configure_file

This macro is alternative to cmake configure_file() in bazel, originally from drake.

Usage

# MODULE.bazel
bazel_dep(name = "cmake_configure_file", version = "0.1.0")

# BUILD.bazel
load(
    "@cmake_configure_file//:cmake_configure_file.bzl",
    "cmake_configure_file",
)

cmake_configure_file(
    name = ...,
    src = ...,
    out = ...,
    defines = [
        ...,
    ],
    undefines = [
        ...,
    ],
    visibility = ["//visibility:private"],
)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •