1
Fork 0
mirror of https://github.com/redstrate/Auracite.git synced 2025-04-23 21:27:45 +00:00
auracite/build.rs
Joshua Goins aa5318c84a Improve character_archive & prepare for future supported UI
Now we pack the different files into one ZIP archive, and give that as
bytes. It's then possible to turn this into a Base64 string perfect for
data URIs.
2024-10-31 18:16:42 -04:00

15 lines
No EOL
393 B
Rust

#[cfg(feature = "ui")]
use cxx_qt_build::{CxxQtBuilder, QmlModule};
fn main() {
#[cfg(feature = "ui")]
CxxQtBuilder::new()
.qt_module("Quick")
.qml_module(QmlModule {
uri: "zone.xiv.auracite",
rust_files: &["src/bin/ui/bridge.rs"],
qml_files: &["src/bin/ui/Main.qml"],
..Default::default()
})
.build();
}