clang-mingw: Enable building tools and examples (#2928)

Add comdlg32 library for GetOpenFileNameA API.
This commit is contained in:
Biswapriyo Nath 2022-09-19 08:41:51 +05:30 committed by GitHub
parent bd696118bb
commit 82ad2eac7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -136,7 +136,7 @@ mingw-gcc-release64: .build/projects/gmake-mingw-gcc ## Build - MinGW GCC x64 Re
mingw-gcc: mingw-gcc-debug32 mingw-gcc-release32 mingw-gcc-debug64 mingw-gcc-release64 ## Build - MinGW GCC x86/x64 Debug and Release
.build/projects/gmake-mingw-clang:
$(GENIE) --gcc=mingw-clang gmake
$(GENIE) --with-tools --with-combined-examples --with-shared-lib --os=windows --gcc=mingw-clang gmake
mingw-clang-debug32: .build/projects/gmake-mingw-clang ## Build - MinGW Clang x86 Debug
$(MAKE) -R -C .build/projects/gmake-mingw-clang config=debug32
mingw-clang-release32: .build/projects/gmake-mingw-clang ## Build - MinGW Clang x86 Release

View File

@ -313,6 +313,7 @@ function exampleProjectDefaults()
configuration { "mingw*" }
targetextension ".exe"
links {
"comdlg32",
"gdi32",
"psapi",
}
@ -592,7 +593,7 @@ or _OPTIONS["with-combined-examples"] then
, "46-fsr"
, "47-pixelformats"
, "48-drawindirect"
, "49-hextile"
, "49-hextile"
)
-- 17-drawstress requires multithreading, does not compile for singlethreaded wasm