pub struct CMakeConfig {
pub synta_root: Option<String>,
pub shared_library: bool,
}Expand description
Configuration for CMake file generation.
Fields§
§synta_root: Option<String>Path to the synta source tree (the directory that contains include/
and target/release/). When None the generated file uses a
SYNTA_ROOT CMake cache variable that the user must supply on the
cmake command line.
Build the generated library as SHARED instead of STATIC.
Trait Implementations§
Source§impl Clone for CMakeConfig
impl Clone for CMakeConfig
Source§fn clone(&self) -> CMakeConfig
fn clone(&self) -> CMakeConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CMakeConfig
impl Debug for CMakeConfig
Source§impl Default for CMakeConfig
impl Default for CMakeConfig
Source§fn default() -> CMakeConfig
fn default() -> CMakeConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CMakeConfig
impl RefUnwindSafe for CMakeConfig
impl Send for CMakeConfig
impl Sync for CMakeConfig
impl Unpin for CMakeConfig
impl UnsafeUnpin for CMakeConfig
impl UnwindSafe for CMakeConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more