prepare depdendencies
git submodule update --init --recursive
# make sure vcpkg is downloaded and binary can be used
# a link in ./bin/vcpkg will be available when this after script runs
if [[ ! -f "./internals/core/vcpkg/vcpkg" ]]; then
./internals/core/vcpkg/bootstrap-vcpkg.sh
fi
build project
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_TOOLCHAIN_FILE:STRING=./internals/core/vcpkg/scripts/buildsystems/vcpkg.cmake \
-G Ninja \
-S./ \
-B./build
cmake --build build -j$(nproc --all) --config Release
build project
cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_TOOLCHAIN_FILE:STRING=./internals/core/vcpkg/scripts/buildsystems/vcpkg.cmake \
-G Ninja \
-S./ \
-B./build
cmake --build build -j$(nproc --all) --config Debug
clean build
cmake --build build -j$(nproc --all) --target clean
clean project
rm -rf ./build || true;
git submodule foreach --recursive git reset --hard
git submodule foreach --recursive git clean -xfd
git submodule update --init --recursive
$MASK prepare