Conan-CPP/build.sh

13 lines
311 B
Bash
Raw Permalink Normal View History

2025-05-09 21:01:36 -05:00
if [ "$1" = "debug" ]; then
BUILD_TYPE=debug
else
BUILD_TYPE=release
fi
2025-05-08 17:58:16 -05:00
conan install . --output-folder=build --build=missing
cd build
2025-05-09 21:01:36 -05:00
meson setup --native-file conan_meson_native.ini .. meson-src -Dbuildtype=$BUILD_TYPE
2025-05-08 17:58:16 -05:00
meson compile -C meson-src
2025-05-09 21:01:36 -05:00
./meson-src/main
read -p "Press enter to continue..."