瀏覽代碼

Create dest of static lib export before moving it

default_compile_flags
vector-of-bool 5 年之前
父節點
當前提交
420899114f
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      src/dds/build.cpp

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

@@ -73,6 +73,7 @@ fs::path export_project_library(const library_plan& lib, build_env_ref env, path
if (lib.create_archive()) {
auto ar_path = lib.create_archive()->calc_archive_file_path(env);
auto ar_dest = lib_out_root / ar_path.filename();
fs::create_directories(ar_dest.parent_path());
fs::copy_file(ar_path, ar_dest);
pairs.emplace_back("Path", fs::relative(ar_dest, lml_parent_dir).string());
}

Loading…
取消
儲存