mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 13:11:33 +00:00
initial commit
This commit is contained in:
6
Sources/SDLSwift/CMakeLists.txt
Normal file
6
Sources/SDLSwift/CMakeLists.txt
Normal 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})
|
3
Sources/SDLSwift/module.modulemap
Normal file
3
Sources/SDLSwift/module.modulemap
Normal file
@ -0,0 +1,3 @@
|
||||
module SDL3 [extern_c] {
|
||||
header "shim.h"
|
||||
}
|
3
Sources/SDLSwift/shim.h
Normal file
3
Sources/SDLSwift/shim.h
Normal file
@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL3/SDL.h>
|
Reference in New Issue
Block a user