mirror of
https://github.com/libretro/glslang.git
synced 2024-11-27 09:51:24 +00:00
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:
parent
71241d8221
commit
d0848e0ef1
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user