Mercurial
diff raylib_examples/BUILD @ 1:adcfad6e86fb
Updated naming and separated out some logic within seobeo.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 24 Sep 2025 09:11:20 -0700 |
| parents | hello_world/BUILD@5695ef413be0 |
| children | f33d9ff8b6e8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/raylib_examples/BUILD Wed Sep 24 09:11:20 2025 -0700 @@ -0,0 +1,20 @@ +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", + ] +)