Commit d0848e0e by John Kessenich

Add new Linux set up script.

parent 71241d82
#! /bin/bash
rm -f StandAlone/glsangValidator
rm -f glslang/MachineIndependent/lib/libglslang.so
# build the StandAlone app and all it's dependencies
make -C StandAlone
# so we can find the shared library
LD_LIBRARY_PATH=`pwd`/glslang/MachineIndependent/lib
export LD_LIBRARY_PATH
# run using test data
cd Test
../StandAlone/glslangValidator -i sample.vert sample.frag
...@@ -4,7 +4,7 @@ mkdir build ...@@ -4,7 +4,7 @@ mkdir build
pushd build pushd build
cmake .. cmake ..
cmake .. cmake ..
make make -j 2
make install make install
install/bin/glslangValidator -i ../Test/sample.vert ../Test/sample.frag install/bin/glslangValidator -i ../Test/sample.vert ../Test/sample.frag
popd popd
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment