Conan-CPP/build.sh
2025-05-09 21:01:36 -05:00

12 lines
311 B
Bash

if [ "$1" = "debug" ]; then
BUILD_TYPE=debug
else
BUILD_TYPE=release
fi
conan install . --output-folder=build --build=missing
cd build
meson setup --native-file conan_meson_native.ini .. meson-src -Dbuildtype=$BUILD_TYPE
meson compile -C meson-src
./meson-src/main
read -p "Press enter to continue..."