Initial commit that has most of what I need.

This commit is contained in:
Zed A. Shaw 2024-09-24 18:28:01 -04:00
parent 933f47a440
commit ad143dca05
11 changed files with 317 additions and 0 deletions

13
scripts/reset_build.ps1 Normal file
View file

@ -0,0 +1,13 @@
mv .\subprojects\packagecache .
rm -recurse -force .\subprojects\,.\builddir\
mkdir subprojects
mv .\packagecache .\subprojects\
cp *.wrap subprojects
mkdir builddir
meson wrap install fmt
meson wrap install catch2
meson wrap install ftxui
meson wrap install nlohmann_json
# $env:CC="clang"
# $env:CXX="clang++"
meson setup --default-library=static --prefer-static builddir

14
scripts/reset_build.sh Normal file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -e
mv -f ./subprojects/packagecache .
rm -rf subprojects builddir
mkdir subprojects
mv packagecache ./subprojects/
mkdir builddir
cp *.wrap subprojects
meson wrap install fmt
meson wrap install catch2
meson wrap install ftxui
meson wrap install nlohmann_json
meson setup builddir