Mercurial
view raylib_examples/BUILD @ 8:98f96b8032e5
[GuiZe] Creating custom bazel rule to deploy to github easily.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Tue, 30 Sep 2025 03:53:26 -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", ] )