mirror of
https://github.com/GayPizzaSpecifications/cxx-swift-interop.git
synced 2025-08-03 13:11:31 +00:00
5 lines
238 B
CMake
5 lines
238 B
CMake
|
add_library(CppBackend STATIC backend.h backend.cpp)
|
||
|
|
||
|
set_target_properties(CppBackend PROPERTIES Swift_MODULE_NAME "CppBackend")
|
||
|
target_compile_options(CppBackend PUBLIC "$<$<COMPILE_LANGUAGE:Swift>:-cxx-interoperability-mode=default>")
|