find windows sdk bin path for rc.exe

This commit is contained in:
Ian Lilley committed 2022-08-07 17:52:29 -04:00
1 parent 7b539e3025
commit c1c8ceafc2
4 files changed
+200 -177

No files matched your search

+10
View File
@@ -324,6 +324,16 @@ String concatenate3_strings(gbAllocator a, String const &x, String const &y, Str
data[len] = 0;
return make_string(data, len);
}
String concatenate4_strings(gbAllocator a, String const &x, String const &y, String const &z, String const &w) {
isize len = x.len+y.len+z.len+w.len;
u8 *data = gb_alloc_array(a, u8, len+1);
gb_memmove(data, x.text, x.len);
gb_memmove(data+x.len, y.text, y.len);
gb_memmove(data+x.len+y.len, z.text, z.len);
gb_memmove(data+x.len+y.len+z.len, w.text, w.len);
data[len] = 0;
return make_string(data, len);
}
String string_join_and_quote(gbAllocator a, Array<String> strings) {
if (!strings.count) {