浏览代码

Create build dir before creating archive

default_compile_flags
vector-of-bool 5 年前
父节点
当前提交
cb9d911e48
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      src/dds/build.cpp

+ 1
- 0
src/dds/build.cpp 查看文件

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);

正在加载...
取消
保存