pub struct CmakeDep {
pub name: &'static str,
pub version: &'static str,
pub url_template: &'static str,
pub extra_cmake_args: &'static [&'static str],
pub cmake_policy_minimum: Option<&'static str>,
}Fields§
§name: &'static str§version: &'static str§url_template: &'static strformat!-style template; {version} is substituted at runtime.
extra_cmake_args: &'static [&'static str]Extra -D flags beyond the standard CMAKE_INSTALL_PREFIX /
BUILD_SHARED_LIBS / CMAKE_BUILD_TYPE.
cmake_policy_minimum: Option<&'static str>cmake policy version floor; some old libs need <3.5.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CmakeDep
impl RefUnwindSafe for CmakeDep
impl Send for CmakeDep
impl Sync for CmakeDep
impl Unpin for CmakeDep
impl UnsafeUnpin for CmakeDep
impl UnwindSafe for CmakeDep
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