Skip to main content

build

Function build 

Source
pub fn build<P: AsRef<Path>>(path: P)
Expand description

Builds the native library rooted at path with the default xmake options. This will return the directory in which the library was installed.

ยงExamples

use xmake;

// Builds the project in the directory located in `libfoo`, and link it
xmake::build("libfoo");