dep: Add lagoon

This commit is contained in:
Yang Liu
2026-03-02 14:57:14 +08:00
committed by Connor McLaughlin
parent db0de91b98
commit 9ca9930da7
5 changed files with 34262 additions and 0 deletions
+5
View File
@@ -56,6 +56,11 @@ if(CPU_ARCH_RISCV64)
disable_compiler_warnings_for_target(riscv-disas)
endif()
if(CPU_ARCH_LOONGARCH64)
add_subdirectory(lagoon EXCLUDE_FROM_ALL)
disable_compiler_warnings_for_target(lagoon)
endif()
if(WIN32)
add_subdirectory(d3d12ma EXCLUDE_FROM_ALL)
disable_compiler_warnings_for_target(d3d12ma)
+19
View File
@@ -0,0 +1,19 @@
cmake_minimum_required(VERSION 3.15)
project(lagoon VERSION 0.0.1)
add_library(lagoon
lagoon.c
"${PROJECT_SOURCE_DIR}/include/lagoon.h"
)
target_include_directories(lagoon
PUBLIC
$<INSTALL_INTERFACE:include>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}
)
export(PACKAGE lagoon)
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 Yang Liu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
File diff suppressed because it is too large Load Diff
+31867
View File
File diff suppressed because it is too large Load Diff