Lines Matching refs:CFG

5 /// Build configuration. See [CFG].
7 /// See [`CFG.include_prefix`][CFG#cfginclude_prefix].
9 /// See [`CFG.exported_header_dirs`][CFG#cfgexported_header_dirs].
11 /// See [`CFG.exported_header_prefixes`][CFG#cfgexported_header_prefixes].
13 /// See [`CFG.exported_header_links`][CFG#cfgexported_header_links].
15 /// See [`CFG.doxygen`][CFG#cfgdoxygen].
26 /// ## **`CFG.include_prefix`**
47 /// By modifying `CFG.include_prefix` we can substitute a prefix that is
55 /// use cxx_build::CFG;
58 /// CFG.include_prefix = "path/to";
78 /// ## **`CFG.exported_header_dirs`**
107 /// use cxx_build::CFG;
113 /// CFG.exported_header_dirs.extend(python_include_paths);
130 /// use cxx_build::CFG;
137 /// CFG.exported_header_dirs.push(&headers);
153 /// ## **`CFG.exported_header_prefixes`**
162 /// `CFG.exported_header_prefixes` (*or* their `links` key into
163 /// `CFG.exported_header_links`; see below). On the other hand if only your C++
195 /// use cxx_build::CFG;
198 /// CFG.exported_header_prefixes = vec!["crate0", "group/api"];
210 /// ## **`CFG.exported_header_links`**
215 /// This achieves an equivalent result to `CFG.exported_header_prefixes` by
229 /// use cxx_build::CFG;
232 /// CFG.exported_header_links.push("git2");
242 /// ## **`CFG.doxygen`**
259 /// use cxx_build::CFG;
262 /// CFG.doxygen = true;
293 /// With `CFG.doxygen` enabled, the generated C++ header through which
307 /// Otherwise by default (without `CFG.doxygen`) they'll just be `//` comments.
309 pub static mut CFG: Cfg = Cfg {
340 pub use self::r#impl::Cfg::CFG;
385 // we can delete this thread local side table and instead make each CFG
389 // pub const CFG: Cfg = Cfg {
429 CFG,
462 if let Cfg::CFG = self {
468 Cfg::CFG => unreachable!(),