mirror of
https://github.com/GayPizzaSpecifications/cxx-swift-interop.git
synced 2025-08-04 05:31:32 +00:00
c and cpp mixed attempt
This commit is contained in:
7
Sources/SwiftBackend/Backend.swift
Normal file
7
Sources/SwiftBackend/Backend.swift
Normal file
@ -0,0 +1,7 @@
|
||||
import CppBackend
|
||||
|
||||
public struct FuckYou {
|
||||
public static func fuck() {
|
||||
let _ = BallWorld()
|
||||
}
|
||||
}
|
2
Sources/SwiftBackend/CMakeLists.txt
Normal file
2
Sources/SwiftBackend/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
||||
add_library(SwiftBackend STATIC Backend.swift)
|
||||
target_link_libraries(SwiftBackend PRIVATE CppBackend)
|
Reference in New Issue
Block a user