Browse Source

Create build dir before creating archive

default_compile_flags
vector-of-bool 5 years ago
parent
commit
cb9d911e48
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/dds/build.cpp

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

if (fs::exists(arc.out_path)) { if (fs::exists(arc.out_path)) {
fs::remove(arc.out_path); fs::remove(arc.out_path);
} }
fs::create_directories(arc.out_path.parent_path());
auto ar_res = run_proc(ar_cmd); auto ar_res = run_proc(ar_cmd);
if (!ar_res.okay()) { if (!ar_res.okay()) {
spdlog::error("Failure creating archive library {}", arc.out_path); spdlog::error("Failure creating archive library {}", arc.out_path);

Loading…
Cancel
Save