Pārlūkot izejas kodu

Build submodules in deps (still not interlinked properly)

default_compile_flags
vector-of-bool pirms 5 gadiem
vecāks
revīzija
ba041b2cf2
1 mainītis faili ar 8 papildinājumiem un 6 dzēšanām
  1. +8
    -6
      src/dds/deps.cpp

+ 8
- 6
src/dds/deps.cpp Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt