John Kessenich | a0af473 | 2012-12-12 21:15:54 +0000 | [diff] [blame] | 1 | #! /bin/bash |
| 2 | |
John Kessenich | e0ab8db | 2013-07-08 21:50:31 +0000 | [diff] [blame] | 3 | rm StandAlone/StandAlone |
| 4 | |
John Kessenich | a0af473 | 2012-12-12 21:15:54 +0000 | [diff] [blame] | 5 | # build the StandAlone app and all it's dependencies |
| 6 | make -C StandAlone |
| 7 | |
| 8 | # so we can find the shared library |
| 9 | LD_LIBRARY_PATH=`pwd`/glslang/MachineIndependent/lib:${LD_LIBRARY_PATH} |
| 10 | export LD_LIBRARY_PATH |
| 11 | |
| 12 | # run using test data |
John Kessenich | 4d5de02 | 2013-04-13 06:05:31 +0000 | [diff] [blame] | 13 | cd Test |
| 14 | ../StandAlone/StandAlone -i sample.vert sample.frag |
| 15 | |
John Kessenich | a0af473 | 2012-12-12 21:15:54 +0000 | [diff] [blame] | 16 | |