Build and link mhycrypto statically

This commit is contained in:
ayy lmao
2022-07-06 16:26:35 +03:00
committed by lilmayofuksu
parent e0272aa38a
commit 850b282b70
11 changed files with 791 additions and 25 deletions

View File

@@ -1,3 +1,14 @@
fn main() {
cc::Build::new()
.include("mhycrypto")
.cpp(true)
.file("mhycrypto/aes.c")
.file("mhycrypto/memecrypto.cpp")
.file("mhycrypto/metadata.cpp")
.file("mhycrypto/metadatastringdec.cpp")
.compile("mhycrypto");
tauri_build::build()
}