From e6ceb73760c1730c8e351ce48a91c2f966504d97 Mon Sep 17 00:00:00 2001 From: rexim Date: Wed, 27 Jan 2021 20:25:29 +0700 Subject: [PATCH] Specify the executables path for MSVC build --- nobuild.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nobuild.c b/nobuild.c index cd914f9..ee1f712 100644 --- a/nobuild.c +++ b/nobuild.c @@ -5,7 +5,7 @@ void check_example(const char *example) const char *example_path = PATH("examples", remove_ext(example)); #ifdef _WIN32 - CMD("cl.exe", PATH("examples", example)); + CMD("cl.exe", "/Fe.\\examples\\", PATH("examples", example)); CMD(CONCAT(example_path, ".exe")); #else CMD("cc", "-o", example_path, PATH("examples", example));