mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-13 12:29:41 -07:00
implement /INFERASANLIBS
This commit is contained in:
1 parent
3bb8983461
commit
e54bef58df
10 files changed
+233
-17
No files matched your search
@@ -119,6 +119,24 @@ t_radbin_path(void)
|
||||
return path;
|
||||
}
|
||||
|
||||
internal String8
|
||||
t_cl_path(void)
|
||||
{
|
||||
local_persist String8 path = {0};
|
||||
if (path.size == 0) {
|
||||
local_persist U8 buffer[4096];
|
||||
ArenaParams params = { .reserve_size = sizeof(buffer), .commit_size = sizeof(buffer), .optional_backing_buffer = buffer };
|
||||
Arena *arena = arena_alloc_(¶ms);
|
||||
#if OS_WINDOWS
|
||||
path = str8_lit("cl.exe");
|
||||
#else
|
||||
path = str8_lit("cl");
|
||||
#endif
|
||||
AssertAlways(path.size);
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
internal String8
|
||||
t_radlink_path(void)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user