Sfoglia il codice sorgente

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

default_compile_flags
vector-of-bool 5 anni fa
parent
commit
9db197fff4
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      src/dds/build.cpp

+ 2
- 1
src/dds/build.cpp Vedi File

@@ -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:

Loading…
Annulla
Salva