Skip to content

Commit 5f4a1c5

Browse files
committed
Update build profiles names throughout the wiki
1 parent 6f9d96c commit 5f4a1c5

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

SourceCode/Builds/build_with_msvc22.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ page.
6161
![image](https://github.com/user-attachments/assets/37d59b79-77fc-4797-bbab-be385dd654da)
6262

6363
- Build the project by clicking on the `Build` menu and selecting `Build`.
64-
- The compiled executable will be placed in the build folder. Example: `build/win32dgb/GeneralsMD/Debug`
64+
- The compiled executable will be placed in the build folder. Example: `build/win32-debug/GeneralsMD/Debug`
6565
- Install the game executable in the game directory by clicking on the `Install` in `Build` menu. This will copy the
6666
executable to the retail game directory.
6767

@@ -105,16 +105,16 @@ to build the project from the command line.
105105
- #### 2. **Development and Debug Builds**
106106

107107
- **Choose the build configuration:**
108-
- `cmake --workflow --preset win32dgb` for Debug build.
109-
- `cmake --workflow --preset win32prof` for Profile build.
108+
- `cmake --workflow --preset win32-debug` for Debug build.
109+
- `cmake --workflow --preset win32-profile` for Profile build.
110110

111111
- **Install the game executable in the game directory (assuming the build was successful):**
112112
- `cmake --install build/<preset name>`
113113

114114
- **To build a specific target:**
115115
- Run `cmake --build build/<preset name> --target <target name>`
116-
- Example: `cmake --build build/win32dgb --target z_generals`
117-
- Or: `cmake --build build/win32prof --target g_generals`
116+
- Example: `cmake --build build/win32-debug --target z_generals`
117+
- Or: `cmake --build build/win32-profile --target g_generals`
118118

119119
For more CMake options, see the [CMake Guide](cmake_guide).
120120

SourceCode/Builds/cmake_guide.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ The **preset** defines the predefined build configuration. The available presets
2828
### For Visual Studio 2022 or Ninja
2929

3030
- `win32`: Release build.
31-
- `win32dgb`: Debug build.
32-
- `win32prof`: Profile build.
31+
- `win32-debug`: Debug build.
32+
- `win32-profile`: Profile build.
3333

3434
### For Visual Studio 6
3535

3636
- `vc6`: Release build.
37-
- `vc6dgb`: Debug build.
38-
- `vc6prof`: Profile build.
37+
- `vc6-debug`: Debug build.
38+
- `vc6-profile`: Profile build.
3939

4040
### Usage
4141

@@ -194,13 +194,13 @@ To build the Zero Hour code along with its tools in debug mode, use the followin
194194

195195
```bash
196196
# Step 1: Configure the build with a preset and additional options
197-
cmake --preset win32dgb -DGENZH_BUILD_ZEROHOUR=ON -DGENZH_BUILD_ZEROHOUR_TOOLS=ON
197+
cmake --preset win32-debug -DGENZH_BUILD_ZEROHOUR=ON -DGENZH_BUILD_ZEROHOUR_TOOLS=ON
198198

199199
# Step 2: Build the project
200-
cmake --build build/win32dbg
200+
cmake --build build/win32-debug
201201

202202
# Step 3: Install the project to the default installation path
203-
cmake --install build/win32dbg
203+
cmake --install build/win32-debug
204204
```
205205
<!-- markdownlint-disable-next-line -->
206206
### **Build Only World Builder Tool:**

0 commit comments

Comments
 (0)