[cmake] MinGW builds; fix line endings; fix weird multiplayer lobby behavior #2835
			No reviewers
			
		
		
		
	
	
	
		Labels
		
	
	
	
	No labels
	
		
			
	
	android
		
			audio
		
			bug
		
			ci
		
			cmake
		
			confirmed
		
			core
		
			desktop
		
			duplicate
		
			enhancement
		
			frontend
		
			fw
		
			git
		
			graphics
		
			loader
		
			nv gpu
		
			ui
		
			vulkan
		
		
	
		No milestone
		
			
		
	No project
	
		
	
	
	
	
		No assignees
		
	
	
		
			
		
	
	
	
		3 participants
	
	
		
		
	Notifications
	
		
	
	
	
		
	
	
	Due date
No due date set.
	
		Dependencies
		
		
	
	
	No dependencies set.
	
	
		
	
	
		
			Reference
		
	
	
		
	
	
			eden-emu/eden!2835
			
		
	
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	
	No description provided.
		
		Delete branch "fix/mingw"
	
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
MinGW builds perform pretty dramatically better than MSVC in my (brief) testing, getting 40% better FPS on my KVM than MSVC. How this will translate to the real world, who knows, but this is a really good target to have.
TODO: Add this to CI, potentially replace clang-cl
Signed-off-by: crueter crueter@eden-emu.dev
[cmake] MinGW builds; fix line endingsto [cmake] MinGW builds; fix line endings; fix weird multiplayer lobby behavior@ -1,60 +1,60 @@# SPDX-FileCopyrightText: 2025 Eden Emulator ProjectNuke this file, should be moved outside too
@ -1,15 +1,18 @@# SPDX-FileCopyrightText: 2022 yuzu Emulator ProjectWe are using ccache detection direct on main CMakeLists, could be nuked too
@ -209,1 +210,3 @@* Add MinGW binaries to the PATH:* Download and install all dependencies:```BASE="git make autoconf libtool automake-wrapper"Add jq too, need by install.sh
https://git.crueter.xyz/scripts/windev/src/branch/master/install.sh#L25
But:
https://git.crueter.xyz/scripts/windev/src/branch/master/install.sh#L19
Those scripts are designed only to be used on a clean system, not one with MSYS2 already installed (sans the package options)
Actually, it couldn't hurt to have for the cpm scripts
As cleanup we need to see if are usefull too
MinGWClangCross.cmake,MinGWCross.cmake,MSVCCache.cmakeTested, they are useless (we can simple use
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++)Even better, on Gentoo
x86_64-w64-mingw32-cmake -S . -B buildhandles everything for usNeeds #2839