pub struct CTestBuild<'t> {
pub build_dir: Option<Token<'t>>,
pub append: bool,
pub configuration: Option<Token<'t>>,
pub parallel_level: Option<Token<'t>>,
pub flags: Option<Vec<Token<'t>>>,
pub project_name: Option<Token<'t>>,
pub target: Option<Token<'t>>,
pub number_errors: Option<Token<'t>>,
pub number_warnings: Option<Token<'t>>,
pub return_value: Option<Token<'t>>,
pub quiet: bool,
pub capture_cmake_error: Option<Token<'t>>,
}
Expand description
Perform the CTest Build Step as a Dashboard Client.
Reference: https://cmake.org/cmake/help/v3.26/command/ctest_build.html
Fields§
§build_dir: Option<Token<'t>>
§append: bool
§configuration: Option<Token<'t>>
§parallel_level: Option<Token<'t>>
§flags: Option<Vec<Token<'t>>>
§project_name: Option<Token<'t>>
§target: Option<Token<'t>>
§number_errors: Option<Token<'t>>
§number_warnings: Option<Token<'t>>
§return_value: Option<Token<'t>>
§quiet: bool
§capture_cmake_error: Option<Token<'t>>
Trait Implementations§
Source§impl<'t> CMakeParse<'t> for CTestBuild<'t>
impl<'t> CMakeParse<'t> for CTestBuild<'t>
fn parse<'tv>( tokens: &'tv [Token<'t>], ) -> Result<(Self, &'tv [Token<'t>]), CommandParseError>
fn complete(tokens: &[Token<'t>]) -> Result<Self, CommandParseError>
fn default_value() -> Option<Self>
fn matches( &self, field_keyword: &[u8], keyword: &[u8], tokens: &[Token<'t>], ) -> bool
fn matches_type( field_keyword: &[u8], keyword: &[u8], tokens: &[Token<'t>], ) -> bool
fn need_update( field_keyword: &[u8], keyword: &Token<'t>, buffer: &[Token<'t>], ) -> bool
fn start<'tv>( &mut self, field_keyword: &[u8], keyword: &Token<'t>, tokens: &'tv [Token<'t>], buffer: &mut Vec<Token<'t>>, ) -> Result<(bool, &'tv [Token<'t>]), CommandParseError>
fn rest<'tv>(tokens: &'tv [Token<'t>]) -> &'tv [Token<'t>]
fn need_push_keyword(keyword: &Token<'t>) -> bool
fn update_mode(keyword: &Token<'t>) -> bool
fn update<'tv>( &mut self, tokens: &'tv [Token<'t>], ) -> Result<(), CommandParseError>
fn end<'tv>(self, tokens: &'tv [Token<'t>]) -> Result<Self, CommandParseError>
fn push_keyword( &mut self, buffer: &mut Vec<Token<'t>>, keyword: &Token<'t>, ) -> bool
fn reset_mode() -> bool
Source§impl<'t> CMakePositional<'t> for CTestBuild<'t>
impl<'t> CMakePositional<'t> for CTestBuild<'t>
fn positional<'tv>( default_name: &'static [u8], tokens: &'tv [Token<'t>], has_keyword: bool, ) -> Result<(Self, &'tv [Token<'t>]), CommandParseError>
fn positional_complete<'tv>( default_name: &'static [u8], tokens: &'tv [Token<'t>], has_keyword: bool, ) -> Result<(Self, &'tv [Token<'t>]), CommandParseError>
fn in_range<'tv>( default_name: &'static [u8], to: &'static [u8], allow_empty: bool, tokens: &'tv [Token<'t>], has_keyword: bool, ) -> Result<(Self, &'tv [Token<'t>]), CommandParseError>
Source§impl<'t> Clone for CTestBuild<'t>
impl<'t> Clone for CTestBuild<'t>
Source§fn clone(&self) -> CTestBuild<'t>
fn clone(&self) -> CTestBuild<'t>
Returns a copy 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<'t> Debug for CTestBuild<'t>
impl<'t> Debug for CTestBuild<'t>
Source§impl<'t> Hash for CTestBuild<'t>
impl<'t> Hash for CTestBuild<'t>
Source§impl<'t> Ord for CTestBuild<'t>
impl<'t> Ord for CTestBuild<'t>
Source§fn cmp(&self, other: &CTestBuild<'t>) -> Ordering
fn cmp(&self, other: &CTestBuild<'t>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'t> PartialEq for CTestBuild<'t>
impl<'t> PartialEq for CTestBuild<'t>
Source§impl<'t> PartialOrd for CTestBuild<'t>
impl<'t> PartialOrd for CTestBuild<'t>
Source§impl<'t> ToCommandScope for CTestBuild<'t>
impl<'t> ToCommandScope for CTestBuild<'t>
fn to_command_scope(&self) -> CommandScope
impl<'t> Eq for CTestBuild<'t>
impl<'t> StructuralPartialEq for CTestBuild<'t>
Auto Trait Implementations§
impl<'t> Freeze for CTestBuild<'t>
impl<'t> RefUnwindSafe for CTestBuild<'t>
impl<'t> Send for CTestBuild<'t>
impl<'t> Sync for CTestBuild<'t>
impl<'t> Unpin for CTestBuild<'t>
impl<'t> UnwindSafe for CTestBuild<'t>
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