Mercurial
comparison hello_world/BUILD @ 0:5695ef413be0
Initialized mono repo with bazels with few examples.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Tue, 23 Sep 2025 10:05:25 -0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:5695ef413be0 |
|---|---|
| 1 load("@rules_cc//cc:cc_binary.bzl", "cc_binary") | |
| 2 | |
| 3 alias( | |
| 4 name = "hello_world", | |
| 5 actual = select({ | |
| 6 "@platforms//os:osx": ":hello_world_osx", | |
| 7 }) | |
| 8 ) | |
| 9 | |
| 10 cc_binary( | |
| 11 name = "hello_world_osx", | |
| 12 srcs = ["main.c"], | |
| 13 deps = [ | |
| 14 "//helper:helper", | |
| 15 "//third_party/raylib/raylib-5.5_macos:raylib_mac_os", | |
| 16 ], | |
| 17 linkopts = [ | |
| 18 "-framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL", | |
| 19 ] | |
| 20 ) |