Skip to content

Commit feab16d

Browse files
committed
Update CMake guide to enhance note formatting and clarity
1 parent 4b69810 commit feab16d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

SourceCode/Builds/cmake_guide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# **CMake Command Line Usage Guide**
22

3-
This guide provides an overview of how to configure and build **Generals** and its expansion *Zero Hour* using **CMake**
3+
This guide provides an overview of how to configure and build **Generals** and its expansion **Zero Hour** using **CMake**
44
via the command line. It covers the various options and flags defined in the CMake files that control the build process,
55
allowing you to choose different components of the game and tools to build.
66

77
For more details on using **Visual Studio 2022**, **Visual Studio 6**, or **CLion**, please refer to the respective
88
guides.
99

10-
> **Note:**
10+
> [!NOTE]
1111
> CMake retains previous configurations. If you encounter any issues or strange behavior, it is recommended to delete
1212
> the `build` directory and start fresh to ensure the build process uses the latest settings.
1313
@@ -100,7 +100,7 @@ mode, use:
100100
cmake --build build/win32
101101
```
102102

103-
> **Note:**
103+
> [!NOTE]
104104
> Replace the folder preset name as needed.
105105
106106
The build process will place the compiled executable files in the appropriate directories based on the configuration,
@@ -116,19 +116,19 @@ To install the built project, use:
116116
cmake --install build/win32
117117
```
118118

119-
> **Note:**
119+
> [!NOTE]
120120
> Replace the folder preset name as needed. This installs the executable project in the specified paths (see next
121121
> section).
122122
<!-- markdownlint-disable-line -->
123-
> **Important:**
123+
> [!IMPORTANT]
124124
> In the `win32` preset, use also `--config Release` to install the release executable, because the default installation
125125
> path looks in the debug folder.
126126
127127
---
128128

129129
## 5. **Define a Custom Installation Path**
130130

131-
> **Note:**
131+
> [!NOTE]
132132
> To define a custom installation path, it must be set during the preset configuration. The installation path cannot be
133133
> changed after the build is complete.
134134

0 commit comments

Comments
 (0)