Quellcode durchsuchen

Build submodules in deps (still not interlinked properly)

default_compile_flags
vector-of-bool vor 5 Jahren
Ursprung
Commit
ba041b2cf2
1 geänderte Dateien mit 8 neuen und 6 gelöschten Zeilen
  1. +8
    -6
      src/dds/deps.cpp

+ 8
- 6
src/dds/deps.cpp Datei anzeigen

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

Laden…
Abbrechen
Speichern