c and cpp mixed attempt

This commit is contained in:
alex committed 2024-08-04 17:08:27 -07:00
1 parent 99d4d99d76
commit 93d3feca7e
8 files changed
+16 -27

No files matched your search

-1
View File
@@ -1,7 +1,6 @@
add_library(SDLSwift INTERFACE)
set_property(TARGET SDLSwift PROPERTY Swift_MODULE_NAME "SDL3")
target_compile_options(SDLSwift INTERFACE "$<$<COMPILE_LANGUAGE:Swift>:-cxx-interoperability-mode=default>")
target_include_directories(SDLSwift INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
target_link_libraries(SDLSwift INTERFACE ${SDL3})
+1 -1
View File
@@ -1,3 +1,3 @@
module SDL3 {
module SDL3 [extern_c] {
header "shim.h"
}