cmake_parser/doc/command/common/
lang_extensions.rs1use cmake_parser_derive::CMake;
2
3use crate::Token;
4
5#[derive(CMake, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
6#[cmake(pkg = "crate")]
7pub enum LangExtensions<'t> {
8 #[cmake(rename = "C_EXTENSIONS")]
9 C(Token<'t>),
10 #[cmake(rename = "CXX_EXTENSIONS")]
11 Cxx(Token<'t>),
12 #[cmake(rename = "OBJC_EXTENSIONS")]
13 ObjC(Token<'t>),
14 #[cmake(rename = "OBJCXX_EXTENSIONS")]
15 ObjCxx(Token<'t>),
16 #[cmake(rename = "CUDA_EXTENSIONS")]
17 Cuda(Token<'t>),
18}