clang-mingw: Enable building tools and examples (#2928)
Add comdlg32 library for GetOpenFileNameA API.
This commit is contained in:
parent
bd696118bb
commit
82ad2eac7a
2
makefile
2
makefile
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user