-
-
Notifications
You must be signed in to change notification settings - Fork 326
feat: Visual Studio DirectX-QuickCompile profile #1432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
28f0c96 to
0f64f4f
Compare
|
|
So you need to clone the debug profile, rename it to debug - opengl, and in the clone, add the flags to compile in DirectX and rename it to debug - dx. If the profile you created is already a clone of the debug profile, then just keep the same naming convention. |
|
@mehah for me to get a functional debug client? yes that should work, thanks. But regardless, I want a DirectX-QuickCompile profile. And if the upstream mehah/otclient has a QuickCompile profile, I won't have to mess with gitignore for a customized
|
|
@divinity76 |
Oh now I see. Would you be interested in a PR changing the Debug profile into "Debug-OpenGL" + "Debug-DirectX" ? |
|
@divinity76 |



Made a "DirectX-QuickCompile" profile for Visual Studio.
Sometimes I just want to compile fast, and don't need the compiler optimizations.
With this, on my Ryzen 9 7950X:
DirectX build from scratch: 50 seconds
DirectX incremental build: N/A
DirectX-QuickCompile from scratch: 20 seconds
DirectX-QuickCompile incremental: 16 seconds
On my Zap-hosting VPS (4 cores Xeon E5-2640v4):
DirectX build from scratch: 8 minutes
DirectX incremental build: N/A
DirectX-QuickCompile from scratch: 3 minutes
DirectX-QuickCompile incremental: 2 minutes
(PS, incremental build is not 100% incremental, some files from vcpkg gets compiled every time, don't know why)
Also my Zap-Hosting VPS does not have a GPU, runs on the "Microsoft Basic Display Adapter", where both the OpenGL and debug crash on startup, so OpenGL is not an alternative for me atm.