adding windows CI
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
NAME = ./test
|
||||
|
||||
CC = clang
|
||||
|
||||
all : $(NAME)
|
||||
|
||||
$(NAME):
|
||||
$(CC) -o $(NAME) main.c -lvulkan -lSDL2 -g
|
||||
|
||||
.PHONY: all
|
||||
11
sandbox/xmake.lua
git.filemode.normal_file
11
sandbox/xmake.lua
git.filemode.normal_file
@@ -0,0 +1,11 @@
|
||||
add_requires("libsdl2", { configs = { sdlmain = false } })
|
||||
add_requires("vulkan-headers")
|
||||
|
||||
target("test")
|
||||
set_kind("binary")
|
||||
add_linkdirs("./")
|
||||
add_files("main.c", { languages = "c99" })
|
||||
add_defines("SDL_MAIN_HANDLED")
|
||||
add_packages("libsdl2", "vulkan-headers")
|
||||
add_syslinks("vulkan")
|
||||
target_end()
|
||||
Reference in New Issue
Block a user