cmake-parser 0.1.0-beta.1

The library to parse cmake language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use cmake_parser_derive::CMake;

use crate::command::common::{FileMatchKind, Permission};

#[derive(CMake, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cmake(pkg = "crate", match_fields)]
pub struct FileMatch<'t> {
    pub kind: Option<FileMatchKind<'t>>,
    pub exclude: bool,
    pub permissions: Option<Vec<Permission>>,
}