Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/JungerBoyo/VE-001
Browse files Browse the repository at this point in the history
  • Loading branch information
JungerBoyo committed Dec 1, 2024
2 parents 116fdfc + b7d131d commit a472573
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions build-linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

is_installed() {
pacman -Q "$1" &> /dev/null
}

packages=(cmake ninja)
for p in "${packages[@]}"; do
if ! is_installed "${p}"; then
sudo pacman -S "${p}"
fi
done

python -m venv .venv
source .venv/bin/activate
pip install conan

conan install . --output-folder=build-rel-glfw3-testing -g CMakeToolchain -pr:b conanprofile.linux.txt -pr:h conanprofile.linux.txt --build=missing

cmake -S . -B build-rel-glfw3-testing -G Ninja --toolchain conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DENGINE_TEST=ON

cmake --build build-rel-glfw3-testing

0 comments on commit a472573

Please sign in to comment.