@@ -8,6 +8,7 @@ For build using solutions and more advanced build configurations, see below.
8
8
- [ Build through Visual Studio 2022] ( #1-prepare-the-project )
9
9
- [ Build through CMake target view] ( #build-through-cmake-target-view )
10
10
- [ Build using command line] ( #build-using-command-line )
11
+ - [ Build using solutions] ( #build-with-solutions )
11
12
- [ Troubleshooting] ( #troubleshooting )
12
13
13
14
## Prerequisites
@@ -76,7 +77,6 @@ to build the project from the command line.
76
77
> VS 2022" from the Start menu. Once opened, navigate to the project directory in the terminal and proceed
77
78
> to run the commands below.
78
79
79
-
80
80
- #### 1. ** Release Build**
81
81
82
82
- ** Choose the build configuration:**
@@ -95,12 +95,18 @@ to build the project from the command line.
95
95
- ** Install the game executable in the game directory (assuming the build was successful):**
96
96
- ` cmake --install build/<preset name> `
97
97
98
-
99
98
- ** To build a specific target:**
100
99
- Run ` cmake --build build/<preset name> --target <target name> `
101
100
- Example: ` cmake --build build/win32dgb --target z_generals `
102
101
- Or: ` cmake --build build/win32int --target g_generals `
103
102
103
+ ### Build with Solutions
104
+
105
+ - Generate the Visual Studio solution with the appropriate preset (see above):
106
+ - Run ` cmake --preset win32 -G "Visual Studio 17 2022" -A Win32 `
107
+ - Navigate to the ` build/win32 ` folder and open the generated solution file.
108
+ - Build the project using the Visual Studio interface.
109
+
104
110
## Troubleshooting
105
111
106
112
- ** Missing DLLs?** Ensure that all required dependencies are installed.
0 commit comments