Browse Source

Formatting

default_compile_flags
vector-of-bool 5 years ago
parent
commit
f71480d43e
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/dds/build/compile.cpp
  2. +3
    -3
      src/dds/ddslim.main.cpp

+ 1
- 1
src/dds/build/compile.cpp View File



fs::path compile_file_plan::get_object_file_path(const build_env& env) const noexcept { 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 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()); ret.replace_filename(relpath.filename().string() + env.toolchain.object_suffix());
return ret; return ret;
} }

+ 3
- 3
src/dds/ddslim.main.cpp View File

man.dependencies.end()); 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}; dds::build_env env{std::move(tc), bdir};
plan.compile_all(env, 6); plan.compile_all(env, 6);
plan.archive_all(env, 6); plan.archive_all(env, 6);

Loading…
Cancel
Save