Skip to content

Commit 5882bc0

Browse files
committed
Support integer properties
Closes #148
1 parent a90b3c6 commit 5882bc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/project_parser.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,8 @@ Project::Project(const Project *parent, const std::string &path, bool build) : p
725725
property_list += list_val.as_string();
726726
}
727727
target.properties[condition][k] = property_list;
728+
} else if (v.is_integer()) {
729+
target.properties[condition][k] = std::to_string(v.as_integer());
728730
} else if (v.is_boolean()) {
729731
target.properties[condition][k] = v.as_boolean() ? "ON" : "OFF";
730732
} else {

0 commit comments

Comments
 (0)