1
use crate::domain::commands::arguments::Argument;
2
use crate::domain::target::TargetKind;
3
use crate::project_model::sourceset::SourceSet;
4
use serde::{Deserialize, Serialize};
5
use std::borrow::Cow;
6

            
7
8
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize, Default, Clone)]
8
pub struct TargetModel<'a> {
9
2
    pub output_name: Cow<'a, str>,
10
2
    pub sources: SourceSet<'a>,
11
2
    pub extra_args: Vec<Argument<'a>>,
12
2
    pub kind: TargetKind,
13
2
    pub enabled_for_current_program_iteration: bool,
14
}