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
# Build the newly generated UrhoApp, modify the "RPI_ABI" build option accordingly
187
-
RPI_ABI=RPI4 script/dockerized.sh rpi
186
+
# Build the newly generated UrhoApp, use the 32-bit compiler toolchain
187
+
ARCH=32 script/dockerized.sh rpi
188
188
```
189
189
190
190
</TabItem>
@@ -218,7 +218,7 @@ This is not a copy/paste error. You can build your new UrhoApp exactly the same
218
218
219
219
:::
220
220
221
-
You can pass optional build options to the build system by using environment variables. One easy way to do that is to set them just in time on the same line before the actual command to be invoked. For example, `RPI_ABI=RPI4 script/dockerized.sh rpi`. See the Build Options section for more information.
221
+
Below is a sample screencast using DBE for Android platform.
@@ -290,6 +290,12 @@ ls $(dbe rake info['build_tree'])/bin
290
290
291
291
The build artifacts for Android platform in the AAR or in the APK format can be found in the `build/outputs/aar/` or `build/outputs/apk/` directory, respectively, relative to the Android library or Android app module.
292
292
293
+
## Build Environment Variables
294
+
295
+
You can pass Urho3D build options to the build system by using environment variables. One easy way to do that is to set them just in time on the same line before the actual command to be invoked. For example, `ARM_ABI_FLAGS='-mcpu=cortex-a53' script/dockerized.sh arm`. See the Urho3D Build Options section for all available build options.
296
+
297
+
On top of that, DBE also recognizes `ARCH` environment variable to select between 32-bit and 64-bit (default) compiler toolchain. This is applicable to Arm, Linux, RPI, and Windows platforms. For example, use `ARCH=32 script/dockerized.sh rpi` to target 32-bit RPI platform.
298
+
293
299
## Don't have docker engine?
294
300
295
301
Fret not! The next section describes how to prepare the build environment the conventional way for each target platform.
0 commit comments