mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
yes
This commit is contained in:
@@ -13,22 +13,8 @@
|
|||||||
|
|
||||||
#ifdef PULSE_PLAT_MACOS
|
#ifdef PULSE_PLAT_MACOS
|
||||||
#include <stdlib.h> // getenv
|
#include <stdlib.h> // getenv
|
||||||
#endif
|
typedef HMODULE LibModule;
|
||||||
|
#else
|
||||||
#ifdef PULSE_PLAT_WINDOWS
|
|
||||||
typedef const char* LPCSTR;
|
|
||||||
typedef struct HINSTANCE__* HINSTANCE;
|
|
||||||
typedef HINSTANCE HMODULE;
|
|
||||||
#if defined(_MINWINDEF_)
|
|
||||||
/* minwindef.h defines FARPROC, and attempting to redefine it may conflict with -Wstrict-prototypes */
|
|
||||||
#elif defined(_WIN64)
|
|
||||||
typedef __int64 (__stdcall* FARPROC)(void);
|
|
||||||
#else
|
|
||||||
typedef int (__stdcall* FARPROC)(void);
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PULSE_PLAT_WINDOWS
|
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
typedef void* LibModule;
|
typedef void* LibModule;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
local tests = {
|
local tests = {
|
||||||
Vulkan = {
|
Vulkan = {
|
||||||
option = "vulkan",
|
option = "vulkan",
|
||||||
packages = { "nzsl" },
|
|
||||||
global_custom = function()
|
global_custom = function()
|
||||||
add_repositories("nazara-engine-repo https://github.com/NazaraEngine/xmake-repo")
|
add_repositories("nazara-engine-repo https://github.com/NazaraEngine/xmake-repo")
|
||||||
add_requires("nzsl >=2023.12.31", { configs = { shared = false, nzslc = true } })
|
add_requires("nzsl >=2023.12.31", { configs = { shared = false, nzslc = true } })
|
||||||
@@ -80,6 +79,7 @@ local tests = {
|
|||||||
end,
|
end,
|
||||||
custom = function()
|
custom = function()
|
||||||
add_rules("nzsl_compile_shaders")
|
add_rules("nzsl_compile_shaders")
|
||||||
|
add_packages("nzs")
|
||||||
add_files("**.nzsl")
|
add_files("**.nzsl")
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user