mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 06:33:35 +00:00
fixing macos and windows CI ?
This commit is contained in:
@@ -47,6 +47,9 @@
|
||||
#include <iterator>
|
||||
#include <stb_truetype.h>
|
||||
#include <variant>
|
||||
#if defined(MLX_PLAT_MACOS) || defined(MLX_PLAT_LINUX) || defined(MLX_PLAT_UNIX)
|
||||
#include <math.h> // sincos
|
||||
#endif
|
||||
|
||||
#ifdef MLX_COMPILER_CLANG
|
||||
#pragma clang diagnostic push
|
||||
|
||||
@@ -46,13 +46,15 @@ target("mlx")
|
||||
add_options("images_optimized")
|
||||
add_options("force_integrated_gpu")
|
||||
add_options("graphics_memory_dump")
|
||||
add_includedirs("runtime/Includes", "runtime/Sources", "third_party")
|
||||
add_options("profiler")
|
||||
add_options("force_wayland")
|
||||
add_includedirs("runtime/Includes", "runtime/Sources", "includes", "third_party")
|
||||
|
||||
set_pcxxheader("runtime/Sources/PreCompiled.h")
|
||||
|
||||
add_defines("MLX_BUILD", "SDL_MAIN_HANDLED")
|
||||
|
||||
add_files("src/**.cpp")
|
||||
add_files("runtime/Sources/**.cpp")
|
||||
|
||||
add_packages("libsdl")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user