Added SDK

This commit is contained in:
Andrew Zambazos
2026-06-11 14:01:22 +12:00
commit c0395a49bd
2155 changed files with 451005 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
if (NOT UL_PLATFORM)
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
set(UL_PLATFORM "windows")
elseif (CMAKE_SYSTEM_NAME MATCHES "Darwin")
set(UL_PLATFORM "macos")
elseif (CMAKE_SYSTEM_NAME MATCHES "Linux")
set(UL_PLATFORM "linux")
else ()
message(FATAL_ERROR "Unable to detect target platform. Please manually specify UL_PLATFORM when running CMake.")
endif ()
endif ()
if (UL_PLATFORM MATCHES "macos")
SET(CMAKE_SKIP_BUILD_RPATH FALSE)
SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
SET(CMAKE_INSTALL_RPATH "@executable_path/")
elseif (UL_PLATFORM MATCHES "linux")
SET(CMAKE_SKIP_BUILD_RPATH FALSE)
SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
SET(CMAKE_INSTALL_RPATH "$\{ORIGIN\}")
endif ()