Quellcode durchsuchen

--full option to build _everything_

default_compile_flags
vector-of-bool vor 5 Jahren
Ursprung
Commit
2789f874e4
1 geänderte Dateien mit 11 neuen und 0 gelöschten Zeilen
  1. +11
    -0
      src/dds/ddslim.main.cpp

+ 11
- 0
src/dds/ddslim.main.cpp Datei anzeigen

@@ -58,6 +58,11 @@ struct cli_build {
"Enable compiler warnings",
{"warnings", 'W'}};

args::Flag full{cmd,
"full",
"Build all optional components (tests, apps, warnings, export)",
{"full", 'F'}};

args::ValueFlag<int> num_jobs{cmd,
"jobs",
"Set the number of parallel jobs when compiling files",
@@ -95,6 +100,12 @@ struct cli_build {
if (exists(man_filepath)) {
man = dds::library_manifest::load_from_file(man_filepath);
}
if (full.Get()) {
params.do_export = true;
params.build_tests = true;
params.build_apps = true;
params.enable_warnings = true;
}
dds::build(params, man);
return 0;
}

Laden…
Abbrechen
Speichern