Fix MSVC build again, add support for standalone MSVC compiler (#59)

After switching away from VS, I realized the buildscript wouldn't detect the standalone MSVC compiler, because for whatever genius reason, MS installs that in the x86 program files directory...

Also fixes some duplicate definitions and a missing library that MSVC doesn't like
ah compilers...

Reviewed-on: #59
Co-authored-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
Co-committed-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
This commit is contained in:
2025-02-24 18:49:22 +00:00
committed by Dniel97
parent 004a2f6dcd
commit efe01d92a6
7 changed files with 10 additions and 7 deletions

View File

@ -83,6 +83,7 @@ dxguid_lib = cc.find_library('dxguid')
xinput_lib = cc.find_library('xinput')
pathcch_lib = cc.find_library('pathcch')
imagehlp_lib = cc.find_library('imagehlp')
Ws2_32_lib = cc.find_library('Ws2_32')
inc = include_directories('.')
capnhook = subproject('capnhook')