Groups SC::Build::CompileFlags and SC::Build::LinkFlags for a given SC::Build::Architecture.
More...
#include <Build.h>
◆ Preset
A pre-made preset with pre-configured set of options.
Enumerator |
---|
Debug | Compile for debug, enabling ASAN (if not set on project and never on VStudio)
|
DebugCoverage | Compile for debug, enabling coverage (sets ClangCL for VStudio)
|
Release | Compile for release.
|
◆ applyPreset()
bool SC::Build::Configuration::applyPreset |
( |
const Project & | project, |
|
|
Preset | newPreset, |
|
|
const Parameters & | parameters ) |
|
nodiscard |
Set compile flags depending on the given Preset.
◆ PresetToString()
static constexpr StringView SC::Build::Configuration::PresetToString |
( |
Preset | preset | ) |
|
|
inlinestaticnodiscardconstexpr |
◆ architecture
Architecture::Type SC::Build::Configuration::architecture = Architecture::Any |
Restrict this configuration to a specific architecture.
◆ compile
◆ intermediatesPath
String SC::Build::Configuration::intermediatesPath |
Obj path. If relative, it's appended to _Intermediates relative to .
◆ link
◆ name
String SC::Build::Configuration::name |
◆ outputPath
String SC::Build::Configuration::outputPath |
Exe path. If relative, it's appended to _Outputs relative to .
◆ visualStudio
The documentation for this struct was generated from the following file: