diff --git a/Building-the-source-code.md b/Building-the-source-code.md index 044e813..1e7a76e 100644 --- a/Building-the-source-code.md +++ b/Building-the-source-code.md @@ -1,10 +1,10 @@ ## Build with Docker -The Docker images set up all the requirements and dependencies for both the native Linux build, and the Windows cross-platform build. +The Docker images set up all the requirements and dependencies for both the native Linux build, and the cross-platform Windows build. 1. Clone the repository. Make sure to initialize submodules (e.g. `git clone --recurse-submodules`). 2. Place the Oodle library files into `lib/oodle`. See the linked page above for how to acquire them. -3. Build the Linux image, which also serves as base for the Windows cross-platform build: `docker build -t dtmt-ci-base-linux -f .ci/image/Dockerfile.linux .ci/image` +3. Build the Linux image, which also serves as base for the cross-platform Windows build: `docker build -t dtmt-ci-base-linux -f .ci/image/Dockerfile.linux .ci/image` 4. (Optional) Build the Windows image: `docker build -t dtmt-ci-base-msvc -f .ci/image/Dockerfile.msvc .ci/image` 5. Run the build command: - Linux: `docker run --rm -ti --user $(id -u) -v ./:/src/dtmt dtmt-ci-base-linux cargo --color always build --profile release-lto --locked`