Fix issue where recursively creating a dir would be incorrectly marked as a failure the first time.

Place output in `out` by default for projects. Use temp folder for building at the command line.
This commit is contained in:
Christoffer Lerno
2025-07-27 17:10:46 +02:00
parent 0bc546595d
commit 208b0f6d0e
7 changed files with 110 additions and 39 deletions

View File

@@ -65,6 +65,7 @@ char *win_utf16to8(const uint16_t *name);
// Use as if it was mkdir(..., 0755) == 0
bool dir_make(const char *path);
bool dir_make_recursive(char *path);
const char *dir_make_temp_dir(void);
// Use as if it was chdir(...) == 0
bool dir_change(const char *path);
const char *filename(const char *path);