Crates.io | libloadorder-ffi |
lib.rs | libloadorder-ffi |
version | 11.4.1 |
source | src |
created_at | 2017-10-15 09:03:36.02395 |
updated_at | 2018-09-10 12:50:05.218477 |
description | A wrapper library providing a C FFI for libloadorder. |
homepage | |
repository | https://github.com/WrinklyNinja/libloadorder.git |
max_upload_size | |
id | 35696 |
size | 69,137 |
Libloadorder is a cross-platform library for manipulating the load order and active status of plugins for the following games:
This repository hosts two Rust crates: libloadorder
is the Rust library, and
libloadorder-ffi
is the C FFI that wraps it. The doc
directory also hosts an
mdbook that provides a general
introduction to load orders.
To build libloadorder and its C FFI and generate C/C++ headers for it, install
Rust and run
cargo build --release --all --all-features
.
The tests require
testing-plugins, put them in
testing-plugins
in the repo root.
Run cargo test
and cargo bench
to run the Rust tests and benchmarks
respectively.
To run the FFI tests, create a directory at ffi/build
, then from that
directory run:
cmake ..
cmake --build .
ctest