view dowa/BUILD @ 278:8d560f50ed4c

Improve infinite canvas interactions and browser chrome Render Lucide icons directly with Raylib, add searchable icon browsing, robust text editing, entity lifecycle animations, z-order-safe input, semantic themes, and animated editable browser controls. Document rendering, pinning, context, and component extension for future agents. Co-authored-by: Copilot <[email protected]> Copilot-Session: f68442b1-fa8f-46a0-9689-81710613bbd4
author MrJuneJune <me@mrjunejune.com>
date Mon, 17 Aug 2026 22:16:14 -0700
parents f3084bca7317
children
line wrap: on
line source

load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
load("@rules_cc//cc:cc_test.bzl", "cc_test")

cc_library(
    name = "stb_ds",
    hdrs = ["stb_ds.h"],
    visibility = ["//visibility:public"],
)

cc_library(
  name = "dowa",
  srcs = [
    "d_string.c",
    "d_memory.c",
    "d_math.c",
  ],
  hdrs = [
    "dowa.h",
    "dowa_internal.h",
  ],
  visibility = ["//visibility:public"],
)

cc_test(
  name = "dowa_test",
  srcs = ["dowa_test.c"],
  deps = [":dowa"],
  args = [],
  data = glob([
      "test_folder/**",
  ]),
  copts = select({
    "@platforms//os:osx": ["-fsanitize=address", "-g"],
    "@platforms//os:linux": ["-g", "-Wall"],
  }),
  linkopts = select({
    "@platforms//os:osx": ["-fsanitize=address"],
    "@platforms//os:linux": [],
  }),
)