diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2022-05-27 20:59:46 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2022-05-27 20:59:46 +0200 |
| commit | 2f7bd154a251968dd90bed749b6510d69a1e6afd (patch) | |
| tree | 3fe04b7bb79340a690bbcc9370719295704974fd /src/build_settings.cpp | |
| parent | 34f1bda57c5f89b64051262606a4e2bc23b6e632 (diff) | |
Additional cleanup of microsoft_craziness.h.
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 9c996aef3..e9f5f2099 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -1234,6 +1234,16 @@ bool init_build_paths(String init_filename) { return false; } + if (!build_context.use_lld && find_result.vs_exe_path.len == 0) { + gb_printf_err("link.exe not found.\n"); + return false; + } + + if (find_result.vs_library_path.len == 0) { + gb_printf_err("VS library path not found.\n"); + return false; + } + if (find_result.windows_sdk_um_library_path.len > 0) { GB_ASSERT(find_result.windows_sdk_ucrt_library_path.len > 0); |