This commit is contained in:
parent
6ac0b124f2
commit
4df34fac91
3 changed files with 34 additions and 1 deletions
|
|
@ -82,6 +82,21 @@ namespace Crafter {
|
|||
libs.push_back(it.get<std::string>());
|
||||
}
|
||||
}
|
||||
if(config.contains("include_dirs")) {
|
||||
for (auto it : config["include_dirs"]) {
|
||||
includeDirs.push_back(it.get<std::string>());
|
||||
}
|
||||
}
|
||||
if(config.contains("lib_dirs")) {
|
||||
for (auto it : config["lib_dirs"]) {
|
||||
libDirs.push_back(it.get<std::string>());
|
||||
}
|
||||
}
|
||||
if(config.contains("cuda")) {
|
||||
for (auto it : config["cuda"]) {
|
||||
cuda.push_back(it.get<std::string>());
|
||||
}
|
||||
}
|
||||
if(config.contains("interfaces")) {
|
||||
const std::vector<std::string> tempModuleFiles = config["interfaces"].get<std::vector<std::string>>();
|
||||
std::vector<std::tuple<fs::path, std::string, ModulePartition*, Module*>> tempModulePaths = std::vector<std::tuple<fs::path, std::string, ModulePartition*, Module*>>(tempModuleFiles.size());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue