Skip to content

Commit

Permalink
Script update
Browse files Browse the repository at this point in the history
  • Loading branch information
Zielon committed Jun 25, 2021
1 parent 9e70f75 commit be7efb4
Showing 1 changed file with 23 additions and 18 deletions.
41 changes: 23 additions & 18 deletions linux_install.sh
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
#!/bin/sh
set -e

mkdir Build
cd Build
git clone https://github.com/Microsoft/vcpkg.git vcpkg.linux
cd vcpkg.linux
git checkout 2021.05.12
./bootstrap-vcpkg.sh

# glfw3:x64-linux requires:
sudo apt install libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev

./vcpkg install \
glfw3:x64-linux \
glm:x64-linux \
imgui:x64-linux \
stb:x64-linux \
tinyobjloader:x64-linux
if [ ! -d Build ]; then
mkdir Build
cd Build
git clone https://github.com/Microsoft/vcpkg.git vcpkg.linux
cd vcpkg.linux
git checkout 2021.05.12
./bootstrap-vcpkg.sh

cd ../..
# glfw3:x64-linux requires:
sudo apt install libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev

./vcpkg install \
glfw3:x64-linux \
glm:x64-linux \
imgui:x64-linux \
stb:x64-linux \
tinyobjloader:x64-linux

cd ../..
fi

cd PBRVulkan/Assets
git clone https://github.com/Zielon/PBRScenes

if [ ! -d PBRScenes ]; then
git clone https://github.com/Zielon/PBRScenes
fi

cd ../..

Expand Down

0 comments on commit be7efb4

Please sign in to comment.