comparison third_party/raylib/raylib.bzl @ 178:94705b5986b3

[ThirdParty] Added WRK and luajit for load testing.
author MrJuneJune <me@mrjunejune.com>
date Thu, 22 Jan 2026 20:10:30 -0800
parents 24fe8ff94056
children
comparison
equal deleted inserted replaced
177:24fe8ff94056 178:94705b5986b3
27 "/DEFAULTLIB:gdi32.lib", 27 "/DEFAULTLIB:gdi32.lib",
28 "/DEFAULTLIB:opengl32.lib", 28 "/DEFAULTLIB:opengl32.lib",
29 "/DEFAULTLIB:user32.lib", 29 "/DEFAULTLIB:user32.lib",
30 "/DEFAULTLIB:shell32.lib", 30 "/DEFAULTLIB:shell32.lib",
31 ], 31 ],
32 # I am not sure what these do lol
33 linkopts_wasm = [
34 "-sUSE_GLFW=3", # Tells Emscripten to provide GLFW3 compatibility
35 "-sUSE_WEBGL2=1", # Enables WebGL2 support
36 "-sASYNCIFY", # Often needed for Raylib's main loop if not using emscripten_set_main_loop
37 ],
32 static = False 38 static = False
33 ): 39 ):
34 """ 40 """
35 Raylib specific cross platform rules. 41 Raylib specific cross platform rules.
36 Args: 42 Args:
57 }), 63 }),
58 linkopts = select({ 64 linkopts = select({
59 "//config:macos": linkopts_macos, 65 "//config:macos": linkopts_macos,
60 "//config:linux": linkopts_linux, 66 "//config:linux": linkopts_linux,
61 "//config:windows": linkopts_windows, 67 "//config:windows": linkopts_windows,
62 "//conditions:default": [], 68 "//conditions:default": linkopts_wasm,
63 }), 69 }),
64 linkstatic = static, 70 linkstatic = static,
65 ) 71 )