#!/bin/sh # # This script is used to compile your program on CodeCrafters # # This runs before .codecrafters/run.sh # # Learn more: https://codecrafters.io/program-interface set -e # Exit on failure cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake cmake --build ./build