#if WINDOWS
This commit is contained in:
1 parent
cc73e06a46
commit
4148c6d6c7
1 file changed
+10
-9
+10
-9
@@ -200,16 +200,17 @@ gb_internal bool try_cached_build(Checker *c, Array<String> const &args) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add Windows resource file to file list, if applicable
|
#if defined(GB_SYSTEM_WINDOWS)
|
||||||
if (build_context.has_resource) {
|
if (build_context.has_resource) {
|
||||||
String res_path = {};
|
String res_path = {};
|
||||||
if (build_context.build_paths[BuildPath_RC].basename == "") {
|
if (build_context.build_paths[BuildPath_RC].basename == "") {
|
||||||
res_path = path_to_string(heap_allocator(), build_context.build_paths[BuildPath_RES]);
|
res_path = path_to_string(permanent_allocator(), build_context.build_paths[BuildPath_RES]);
|
||||||
} else {
|
} else {
|
||||||
res_path = path_to_string(heap_allocator(), build_context.build_paths[BuildPath_RC]);
|
res_path = path_to_string(permanent_allocator(), build_context.build_paths[BuildPath_RC]);
|
||||||
|
}
|
||||||
|
array_add(&files, res_path);
|
||||||
}
|
}
|
||||||
array_add(&files, res_path);
|
#endif
|
||||||
}
|
|
||||||
|
|
||||||
for (auto const &entry : c->info.load_file_cache) {
|
for (auto const &entry : c->info.load_file_cache) {
|
||||||
auto *cache = entry.value;
|
auto *cache = entry.value;
|
||||||
|
|||||||
Reference in new issue
Block a user