Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 927 Bytes

README.md

File metadata and controls

38 lines (31 loc) · 927 Bytes

SwiftCppBridgeTemplates

SwiftCppBridgeTemplates is part of the development software for the Hackaday ÓSK Squirrel project.

Language interoperability example package which builds C, C++ and Swift executables.

Template BridgeResources

Template Bridge

SwiftCppBridgeTemplates
|-- Package.swift
`-- Sources
    |-- exec_cc
    |   `-- main.c
    |-- exec_cpp
    |   `-- main.cpp
    |-- exec_swift
    |   `-- main.swift
    |-- lib_c
    |   |-- include
    |   |   `-- lib_c.h
    |   `-- lib_c.c
    |-- lib_cpp
    |   |-- include
    |   |   `-- lib_cpp.hpp
    |   `-- lib_cpp.cpp
    `-- lib_cpp_cbind
        |-- include
        |   `-- lib_cpp_cbind.h
        `-- lib_cpp_cbind.cpp

Resources