mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[ios] backport from 4.3-beta: expose explict module for c & cpp
- standard user can import spine-c based api as usual - dedicated swift/cpp user can import cpp interface with explict import and enabling cpp interp - objective-c user can import cpp using objective-c++
This commit is contained in:
parent
d698e53e3e
commit
bb47e82044
@ -1,4 +1,13 @@
|
||||
module SpineCppLite {
|
||||
header "spine-cpp-lite.h"
|
||||
export *
|
||||
use c
|
||||
export c
|
||||
explicit module cpp {
|
||||
umbrella header "spine/spine.h"
|
||||
requires cplusplus11
|
||||
export *
|
||||
}
|
||||
explicit module c {
|
||||
header "spine-cpp-lite.h"
|
||||
export *
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user