mirror of
https://github.com/redstrate/Auracite.git
synced 2025-04-24 13:37:45 +00:00
15 lines
No EOL
466 B
Rust
15 lines
No EOL
466 B
Rust
use cxx_qt_build::{CxxQtBuilder, QmlModule};
|
|
|
|
fn main() {
|
|
if std::env::var("CARGO_CFG_TARGET_FAMILY").unwrap() != "wasm" {
|
|
CxxQtBuilder::new()
|
|
.qt_module("Quick")
|
|
.qml_module(QmlModule {
|
|
uri: "zone.xiv.auracite",
|
|
rust_files: &["src/bin/auracite/bridge.rs"],
|
|
qml_files: &["src/bin/auracite/Main.qml"],
|
|
..Default::default()
|
|
})
|
|
.build();
|
|
}
|
|
} |