initial commit

This commit is contained in:
2024-08-04 17:42:03 -07:00
commit 4522adb657
409 changed files with 323578 additions and 0 deletions

View File

@ -0,0 +1,6 @@
add_library(SDLSwift INTERFACE)
set_property(TARGET SDLSwift PROPERTY Swift_MODULE_NAME "SDL3")
target_include_directories(SDLSwift INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
target_link_libraries(SDLSwift INTERFACE ${SDL3})

View File

@ -0,0 +1,3 @@
module SDL3 [extern_c] {
header "shim.h"
}

3
Sources/SDLSwift/shim.h Normal file
View File

@ -0,0 +1,3 @@
#pragma once
#include <SDL3/SDL.h>