Compiling Zandronum with Visual Studio: Difference between revisions

no edit summary
(Caps...)
Tag: Source edit
No edit summary
Tag: Source edit
Line 106: Line 106:
= Build using Visual Studio =
= Build using Visual Studio =
== Generate Projects ==
== Generate Projects ==
[[File:Vs2022 cmake.PNG|thumb]]
[[File:Vs2022 cmake.PNG|thumb|right]]


Open CMake (<code>cmake-gui</code>) and set the ''Where is the source code'' textbox to where you downloaded the Zandronum source code. Set ''Where to build the binaries'' to wherever you want the project files to be generated.
Open CMake (<code>cmake-gui</code>) and set the ''Where is the source code'' textbox to where you downloaded the Zandronum source code. Set ''Where to build the binaries'' to wherever you want the project files to be generated.
Line 122: Line 122:
YASM is unneeded as we already have NASM.
YASM is unneeded as we already have NASM.


[[Image:PSVSGuide_CMake_Complete.png|thumb|left|Your CMake should look like this]]
[[File:PSVSGuide CMake Complete.png|none|thumb|300x300px|Your CMake should look like this]]
 
Click ''Configure'' again and your CMake should look like the image on the left.
Click ''Configure'' again and your CMake should look like the image on the left.
Now click ''Generate''. This will generate the project files.
Now click ''Generate''. This will generate the project files.


== Build Zandronum ==
== Build Zandronum ==
[[Image:PSVSGuide_Open_Zansln.png|thumb|right]]
Now go to where you generated the project files and open <code>Zandronum.sln</code>.
Now go to where you generated the project files and open <code>Zandronum.sln</code>.