浏览代码

Built deps go in a subdirectory of _build, not the root

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

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

@@ -235,7 +235,8 @@ void add_sdist_to_build(build_plan& plan,
for (const auto& lib : libs) {
shared_compile_file_rules comp_rules = lib.base_compile_rules();
library_build_params lib_params;
auto lib_plan = library_plan::create(lib, lib_params, ureqs);
lib_params.out_subdir = fs::path("deps") / sd.manifest.pkg_id.name;
auto lib_plan = library_plan::create(lib, lib_params, ureqs);
// Create usage requirements for this libary.
add_ureqs(ureqs, sd, lib, lib_plan, env);
// Add it to the plan:

正在加载...
取消
保存