mirror of
https://github.com/GayPizzaSpecifications/cxx-swift-interop.git
synced 2025-08-05 22:21:31 +00:00
restore c++ backend using swift 6's improved interop
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.24)
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "13.6" CACHE STRING "Minimum OSX version" FORCE)
|
||||
set(CMAKE_Swift_LANGUAGE_VERSION 6)
|
||||
project(cxxswift LANGUAGES CXX Swift)
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
|
||||
@ -8,4 +9,6 @@ include(AddSwift)
|
||||
|
||||
find_library(SDL3 SDL3 REQUIRED PATHS "${CMAKE_SOURCE_DIR}/Frameworks" NO_DEFAULT_PATH)
|
||||
|
||||
add_subdirectory(Sources)
|
||||
add_subdirectory(Sources/CppBackend)
|
||||
add_subdirectory(Sources/SDLSwift)
|
||||
add_subdirectory(Sources/SwiftFrontend)
|
||||
|
Reference in New Issue
Block a user