Mercurial
comparison third_party/raylib/raylib-5.5_macos/BUILD @ 11:f33d9ff8b6e8
[Raylib] Added raylib linux to third party lib and added cross platform support.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Tue, 30 Sep 2025 05:01:34 -0700 |
| parents | 5695ef413be0 |
| children |
comparison
equal
deleted
inserted
replaced
| 10:ad69c414a881 | 11:f33d9ff8b6e8 |
|---|---|
| 1 load("@rules_cc//cc:cc_import.bzl", "cc_import") | 1 load("@rules_cc//cc:cc_import.bzl", "cc_import") |
| 2 | 2 |
| 3 # //third_party/raylib/raylib-5.5_macos:raylib_mac_os | 3 # //third_party/raylib/raylib-5.5_macos:raylib_mac_os |
| 4 cc_import( | 4 cc_import( |
| 5 name = "raylib_mac_os", | 5 name = "raylib_mac", |
| 6 hdrs = [ | 6 hdrs = ["//third_party/raylib:raylib_hdrs"], |
| 7 "include/raylib.h", | |
| 8 "include/raymath.h", | |
| 9 ], | |
| 10 static_library = "lib/libraylib.a", | 7 static_library = "lib/libraylib.a", |
| 11 visibility = ["//visibility:public"], | 8 visibility = ["//visibility:public"], |
| 12 target_compatible_with = [ | 9 target_compatible_with = [ |
| 13 "@platforms//os:osx", | 10 "@platforms//os:osx", |
| 14 ], | 11 ], |