mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-10 22:23:34 +00:00
updating license year, fixing fetch dependencies script, adding VMA auto update, removing useless dependency in xmake build
This commit is contained in:
2
LICENSE
2
LICENSE
@@ -1,5 +1,5 @@
|
||||
MIT License
|
||||
Copyright (c) 2022-2023 kbz_8
|
||||
Copyright (c) 2022-2024 kbz_8
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
BIN
example/Test
git.filemode.executable_file
BIN
example/Test
git.filemode.executable_file
Binary file not shown.
@@ -3,13 +3,23 @@
|
||||
# Update volk
|
||||
rm -f ../third_party/volk.c
|
||||
rm -f ../third_party/volk.h
|
||||
wget https://api.github.com/repos/zeux/volk/zipball/1.3.270 -O volk.zip
|
||||
tag_name=$(curl -sL https://api.github.com/repos/zeux/Volk/releases/latest | jq -r '.tag_name')
|
||||
wget https://api.github.com/repos/zeux/volk/zipball/$tag_name -O volk.zip
|
||||
unzip -o volk.zip -d ../third_party/
|
||||
mv ../third_party/zeux-volk*/volk.h ../third_party
|
||||
mv ../third_party/zeux-volk*/volk.c ../third_party
|
||||
rm -rf ../third_party/zeux-volk*
|
||||
rm volk.zip
|
||||
|
||||
# Update VMA
|
||||
rm -f ../third_party/vma.h
|
||||
tag_name=$(curl -sL https://api.github.com/repos/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/releases/latest | jq -r '.tag_name')
|
||||
wget https://api.github.com/repos/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/zipball/$tag_name -O vma.zip
|
||||
unzip -o vma.zip -d ../third_party/
|
||||
mv ../third_party/GPUOpen-LibrariesAndSDKs-VulkanMemoryAllocator*/include/vk_mem_alloc.h ../third_party/vma.h
|
||||
rm -rf ../third_party/GPUOpen-LibrariesAndSDKs-VulkanMemoryAllocator*
|
||||
rm vma.zip
|
||||
|
||||
# Update Vulkan headers
|
||||
rm -rf ../third_party/vulkan
|
||||
rm -rf ../third_party/vk_video
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
|
||||
name
|
||||
Memcheck:Leak
|
||||
fun:*alloc
|
||||
|
||||
@@ -6,13 +6,12 @@
|
||||
-- By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ --
|
||||
-- +#+#+#+#+#+ +#+ --
|
||||
-- Created: 2023/12/07 15:21:38 by kbz_8 #+# #+# --
|
||||
-- Updated: 2023/12/07 15:21:38 by kbz_8 ### ########.fr --
|
||||
-- Updated: 2024/01/02 23:40:20 by kbz_8 ### ########.fr --
|
||||
-- --
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
-- Global settings
|
||||
|
||||
add_requires("vulkan-headers")
|
||||
add_requires("libsdl", {configs = { sdlmain = false }})
|
||||
|
||||
add_rules("mode.debug", "mode.release")
|
||||
@@ -55,7 +54,7 @@ target("mlx")
|
||||
|
||||
add_files("src/**.cpp")
|
||||
|
||||
add_packages("libsdl", "vulkan-headers")
|
||||
add_packages("libsdl")
|
||||
|
||||
if is_mode("debug") then
|
||||
add_defines("DEBUG")
|
||||
@@ -71,7 +70,7 @@ target("Test")
|
||||
|
||||
add_deps("mlx")
|
||||
|
||||
add_files("test/main.c")
|
||||
add_files("example/main.c")
|
||||
|
||||
add_defines("SDL_MAIN_HANDLED")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user