view raylib_examples/BUILD @ 4:0b3b4f5887bb

[Seobeo] Updated so that it create socket for both server and clients.
author June Park <parkjune1995@gmail.com>
date Fri, 26 Sep 2025 15:14:46 -0700
parents adcfad6e86fb
children f33d9ff8b6e8
line wrap: on
line source

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

alias(
  name = "hello_world",
  actual = select({
    "@platforms//os:osx": ":hello_world_osx",
  })
)

cc_binary(
  name = "hello_world_osx",
  srcs = ["main.c"],
  deps = [
    "//helper:helper",
    "//third_party/raylib/raylib-5.5_macos:raylib_mac_os",
  ],
  linkopts = [
    "-framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL",
  ]
)