|
|
@ -618,8 +618,8 @@ void generate_cmake(const char *path, const parser::Project *parent_project) {
|
|
|
|
ofs << " \"" << package.name << '\"';
|
|
|
|
ofs << " \"" << package.name << '\"';
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
ofs << " {\n";
|
|
|
|
ofs << " {\n";
|
|
|
|
ofs << " \"name\": \"" << package.name << "\",\n";
|
|
|
|
ofs << " \"name\": \"" << package.name << "\",\n";
|
|
|
|
ofs << " \"features\": [";
|
|
|
|
ofs << " \"features\": [";
|
|
|
|
for (size_t j = 0; j < package.features.size(); j++) {
|
|
|
|
for (size_t j = 0; j < package.features.size(); j++) {
|
|
|
|
const auto &feature = package.features[j];
|
|
|
|
const auto &feature = package.features[j];
|
|
|
|
ofs << '\"' << feature << '\"';
|
|
|
|
ofs << '\"' << feature << '\"';
|
|
|
|