OvumDocs

Build instructions for Ovum toolset

This document describes a build process for Ovum programming language toolset and tests.

How to build and run

Run the following commands from the project directory.

  1. Create CMake cache
cmake -S . -B cmake-build
  1. Build all targets
cmake --build cmake-build
  1. Run main executable
.\cmake-build\ovum.exe build
./cmake-build/bin/ovum build
  1. Run tests
.\cmake-build\ovum_tests.exe
./cmake-build/tests/ovum_tests
  1. Installation

Running this script will build and install Ovum main executable at $HOME/ovum. Define $SAVE_PREV environment variable to save previous configuration.

There is only a shell script, so on Windows one should use Git Bash.

./install.sh