Quellcode durchsuchen

Formatting

default_compile_flags
vector-of-bool vor 5 Jahren
Ursprung
Commit
f71480d43e
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. +1
    -1
      src/dds/build/compile.cpp
  2. +3
    -3
      src/dds/ddslim.main.cpp

+ 1
- 1
src/dds/build/compile.cpp Datei anzeigen

@@ -60,7 +60,7 @@ void compile_file_plan::compile(const build_env& env) const {

fs::path compile_file_plan::get_object_file_path(const build_env& env) const noexcept {
auto relpath = fs::relative(source.path, source.basis_path);
auto ret = env.output_root / subdir / relpath;
auto ret = env.output_root / subdir / relpath;
ret.replace_filename(relpath.filename().string() + env.toolchain.object_suffix());
return ret;
}

+ 3
- 3
src/dds/ddslim.main.cpp Datei anzeigen

@@ -375,9 +375,9 @@ struct cli_deps {
man.dependencies.end());
});

auto plan = dds::create_deps_build_plan(deps);
auto tc = tc_filepath.get_toolchain();
auto bdir = build_dir.Get();
auto plan = dds::create_deps_build_plan(deps);
auto tc = tc_filepath.get_toolchain();
auto bdir = build_dir.Get();
dds::build_env env{std::move(tc), bdir};
plan.compile_all(env, 6);
plan.archive_all(env, 6);

Laden…
Abbrechen
Speichern