Support integer properties

Closes #148
This commit is contained in:
Duncan Ogilvie
2024-08-05 15:28:38 +02:00
parent a90b3c6095
commit 5882bc082d
+2
View File
@@ -725,6 +725,8 @@ Project::Project(const Project *parent, const std::string &path, bool build) : p
property_list += list_val.as_string();
}
target.properties[condition][k] = property_list;
} else if (v.is_integer()) {
target.properties[condition][k] = std::to_string(v.as_integer());
} else if (v.is_boolean()) {
target.properties[condition][k] = v.as_boolean() ? "ON" : "OFF";
} else {