Support running/profiling ISX files
This commit is contained in:
@@ -18,6 +18,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
};
|
||||
builder
|
||||
.include(Path::new("shrooms-vb-core/core"))
|
||||
.include(Path::new("shrooms-vb-core/util"))
|
||||
.opt_level(opt_level)
|
||||
.flag_if_supported("-fno-strict-aliasing")
|
||||
.define("VB_LITTLE_ENDIAN", None)
|
||||
@@ -29,7 +30,10 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
.define("VB_DIRECT_FRAME", "on_frame")
|
||||
.define("VB_DIRECT_READ", "on_read")
|
||||
.define("VB_DIRECT_WRITE", "on_write")
|
||||
.define("VBU_REALLOC", "vbu_realloc_shim")
|
||||
.file(Path::new("shrooms-vb-core/core/vb.c"))
|
||||
.file(Path::new("shrooms-vb-core/util/isx.c"))
|
||||
.file(Path::new("shrooms-vb-core/util/vbu.c"))
|
||||
.compile("vb");
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user