lux_lib/lua_rockspec/build/
cmake.rs1use std::collections::HashMap;
2
3#[derive(Debug, PartialEq, Clone)]
4pub struct CMakeBuildSpec {
5 pub cmake_lists_content: Option<String>,
6 pub build_pass: bool,
9 pub install_pass: bool,
12 pub variables: HashMap<String, String>,
13}
14
15impl Default for CMakeBuildSpec {
16 fn default() -> Self {
17 Self {
18 cmake_lists_content: Default::default(),
19 build_pass: default_pass(),
20 install_pass: default_pass(),
21 variables: Default::default(),
22 }
23 }
24}
25
26fn default_pass() -> bool {
27 true
28}