1
1
# ** CMake Command Line Usage Guide**
2
2
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**
4
4
via the command line. It covers the various options and flags defined in the CMake files that control the build process,
5
5
allowing you to choose different components of the game and tools to build.
6
6
7
7
For more details on using ** Visual Studio 2022** , ** Visual Studio 6** , or ** CLion** , please refer to the respective
8
8
guides.
9
9
10
- > ** Note: **
10
+ > [ !NOTE ]
11
11
> CMake retains previous configurations. If you encounter any issues or strange behavior, it is recommended to delete
12
12
> the ` build ` directory and start fresh to ensure the build process uses the latest settings.
13
13
@@ -100,7 +100,7 @@ mode, use:
100
100
cmake --build build/win32
101
101
```
102
102
103
- > ** Note: **
103
+ > [ !NOTE ]
104
104
> Replace the folder preset name as needed.
105
105
106
106
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:
116
116
cmake --install build/win32
117
117
```
118
118
119
- > ** Note: **
119
+ > [ !NOTE ]
120
120
> Replace the folder preset name as needed. This installs the executable project in the specified paths (see next
121
121
> section).
122
122
<!-- markdownlint-disable-line -->
123
- > ** Important: **
123
+ > [ !IMPORTANT ]
124
124
> In the ` win32 ` preset, use also ` --config Release ` to install the release executable, because the default installation
125
125
> path looks in the debug folder.
126
126
127
127
---
128
128
129
129
## 5. ** Define a Custom Installation Path**
130
130
131
- > ** Note: **
131
+ > [ !NOTE ]
132
132
> To define a custom installation path, it must be set during the preset configuration. The installation path cannot be
133
133
> changed after the build is complete.
134
134
0 commit comments