Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.39 KB

COMPILING.md

File metadata and controls

46 lines (29 loc) · 1.39 KB

Building Russian Doom for DOS with Docker toolchain

Step 1: Setting up build environment

Install Docker. Make shore the Docker demon is running and docker commands accessible without root permissions.

Step 2: Compiling project

Run build_release_package.sh script.

Or run the following commands:

docker build "./.devcontainer" -t toolchain-russian-doom-dos
docker run --rm -v ".:/tmp/russian-doom-dos" toolchain-russian-doom-dos \
       /bin/bash -c "cd /tmp/russian-doom-dos && cmake --workflow --preset 'local-watcom-release'"

The resulting package and its checksum can be found in the build directory.

Configuring Clion IDE

Download custom compiler config for Open Watcom and select it in Clion's Settings > Build, Execution, Deployment > Toolchains > Custom Compiler

Dev-container

Install docker-buildx-plugin.

Build and run dev-container

Docker toolchain

Step 1: Building image

Run build_toolchain_image.sh script.

Or run the following command:

docker build "./.devcontainer" -t toolchain-russian-doom-dos

Step 2: Setting up toolchain

In Clion's Settings > Build, Execution, Deployment > Toolchains add Docker toolchain and select toolchain-russian-doom-dos image.