Add new Linux set up script.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25896 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2014-03-14 17:32:51 +00:00
parent 71241d8221
commit d0848e0ef1
2 changed files with 1 additions and 16 deletions

View File

@ -1,15 +0,0 @@
#! /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

View File

@ -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