|
|
@ -64,10 +64,6 @@ CMake::CMake(const std::string &path, bool build) {
|
|
|
|
if (cmake.contains("link-flags")) {
|
|
|
|
if (cmake.contains("link-flags")) {
|
|
|
|
linkflags = detail::to_string_vec(toml::find(cmake, "link-flags").as_array());
|
|
|
|
linkflags = detail::to_string_vec(toml::find(cmake, "link-flags").as_array());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (cmake.contains("subdirs")) {
|
|
|
|
|
|
|
|
subdirs = detail::to_string_vec(toml::find(cmake, "subdirs").as_array());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (toml.contains("project")) {
|
|
|
|
if (toml.contains("project")) {
|
|
|
@ -86,6 +82,9 @@ CMake::CMake(const std::string &path, bool build) {
|
|
|
|
if (project.contains("include-after")) {
|
|
|
|
if (project.contains("include-after")) {
|
|
|
|
include_after = detail::to_string_vec(toml::find(project, "include-after").as_array());
|
|
|
|
include_after = detail::to_string_vec(toml::find(project, "include-after").as_array());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (project.contains("subdirs")) {
|
|
|
|
|
|
|
|
subdirs = detail::to_string_vec(toml::find(project, "subdirs").as_array());
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (toml.contains("settings")) {
|
|
|
|
if (toml.contains("settings")) {
|
|
|
|