Преглед на файлове

Build submodules in deps (still not interlinked properly)

default_compile_flags
vector-of-bool преди 5 години
родител
ревизия
ba041b2cf2
променени са 1 файла, в които са добавени 8 реда и са изтрити 6 реда
  1. +8
    -6
      src/dds/deps.cpp

+ 8
- 6
src/dds/deps.cpp Целия файл

@@ -96,12 +96,14 @@ void add_dep_includes(shared_compile_file_rules& rules,
}

void add_sdist_to_dep_plan(build_plan& plan, const sdist& sd, const sdist_index_type& sd_idx) {
auto lib = dds::library::from_directory(sd.path, sd.manifest.name);
shared_compile_file_rules comp_rules = lib.base_compile_rules();
add_dep_includes(comp_rules, sd.manifest, sd_idx);
library_build_params params;
params.compile_rules = comp_rules;
plan.add_library(lib, params);
auto libs = collect_libraries(sd.path, sd.manifest.name);
for (const auto& lib : libs) {
shared_compile_file_rules comp_rules = lib.base_compile_rules();
add_dep_includes(comp_rules, sd.manifest, sd_idx);
library_build_params params;
params.compile_rules = comp_rules;
plan.add_library(lib, params);
}
}

} // namespace

Loading…
Отказ
Запис