Skip to content

Commit 434e523

Browse files
committed
Add important note about building specific targets in CMake guide
1 parent bef5280 commit 434e523

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

SourceCode/Builds/cmake_guide.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ cmake -DGENZH_ZEROHOUR_INSTALL_PREFIX="/path/to/install" .
151151

152152
## 6. **Building Specific Targets**
153153

154+
> [!IMPORTANT]
155+
> Please note that specific **targets** (such as `z_generals` or `z_worldbuilder`) will only work if the corresponding
156+
> game source tree is enabled through the appropriate **preset** (e.g., `DGENZH_BUILD_ZEROHOUR` or
157+
> `DGENZH_BUILD_ZEROHOUR_TOOLS`). Make sure the relevant game sources are included in the configuration before
158+
> attempting to build the **targets**.
159+
154160
You can build specific targets by specifying them in the build command. The common targets are:
155161

156162
> [!TIP]

0 commit comments

Comments
 (0)