Skip to content
Snippets Groups Projects
Commit d0848e0e authored by John Kessenich's avatar John Kessenich
Browse files

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
parent 71241d82
No related branches found
No related tags found
No related merge requests found
#! /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
pushd build
cmake ..
cmake ..
make
make -j 2
make install
install/bin/glslangValidator -i ../Test/sample.vert ../Test/sample.frag
popd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment