Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Specify the executables path for MSVC build
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Jan 27, 2021
1 parent 61dc173 commit e6ceb73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nobuild.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit e6ceb73

Please sign in to comment.