Open SBKarr opened 4 days ago
Just a little fixes in cmake files to make clang builds for windows successful.
Possibility for cross-compilation for native windows target --target=x86_64-windows-msvc on other platforms. Useful for CI, automatic builds, etc
--target=x86_64-windows-msvc
Patch attached: 0001-Windows-clang-fixes.patch.txt
Check for clang before NOT MINGW to reuse MinGW asms, that successfully works with clang, instead of MSVC's asms. Also, clang parser failed on backslashes with spaces.
NOT MINGW
Feature
Just a little fixes in cmake files to make clang builds for windows successful.
Benefit
Possibility for cross-compilation for native windows target
--target=x86_64-windows-msvc
on other platforms. Useful for CI, automatic builds, etcImplementation
Patch attached: 0001-Windows-clang-fixes.patch.txt
Check for clang before
NOT MINGW
to reuse MinGW asms, that successfully works with clang, instead of MSVC's asms. Also, clang parser failed on backslashes with spaces.