Link the C++ lib against the interpreter

This commit is contained in:
Olivier Goffart 2021-03-17 11:44:20 +01:00
parent 372ba09741
commit dbf06f73cc
4 changed files with 8 additions and 2 deletions

View file

@ -13,7 +13,12 @@ publish = false
path = "lib.rs"
crate-type = ["cdylib"]
[features]
# In the future, this shouldn't be a default feature, but should be enabled by cmake
default = ["sixtyfps-interpreter"]
[dependencies]
sixtyfps-corelib = { version = "=0.0.5", path="../../sixtyfps_runtime/corelib", features = ["ffi"] }
sixtyfps-rendering-backend-default = { version = "=0.0.5", path="../../sixtyfps_runtime/rendering_backends/default" }
sixtyfps-interpreter = { version = "=0.0.5", path="../../sixtyfps_runtime/interpreter", features = ["ffi"], optional = true }