You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -170,5 +170,19 @@ cmake --build --preset linux --config [Debug|Release]
170
170
171
171
Once CMake finishes, the built files will be put in `builds/linux/Descent3/Debug` or `builds/linux/Descent3/Release`.
172
172
173
+
#### Note - Cross-Compiling
174
+
A tool called `HogMaker` is built from source and then used during the Descent3 build in order to create HOG files containing level data. As a result, `HogMaker` must be built as an executable for the architecture _performing_ the build - not the architecture for which you're building. CMake does not support more than one build toolchain in a single build invocation, so if are cross-compiling Descent3 then you will need to configure and build HogMaker individually first:
175
+
```sh
176
+
# configure a "host" build into its own directory, and set HOST_TOOLS_ONLY to 1
177
+
cmake -B builds/host -DHOST_TOOLS_ONLY=1
178
+
# perform the host build
179
+
cmake --build builds/host
180
+
181
+
# now, configure your real target build, pointing to the existing host tools build
# perform your real build. CMake will not build HogMaker in this invocation, and instead use the previously-built one
184
+
cmake --build builds/target
185
+
```
186
+
173
187
## Contributing
174
188
Anyone can contribute! We have an active Discord presence at [Descent Developer Network](https://discord.gg/GNy5CUQ). If you are interested in maintaining the project on a regular basis, please contact Kevin Bentley.
0 commit comments