0023148: Error in stepstrcmp
[occt.git] / src / DrawResources / demo
CommitLineData
7fd59977 1#!/bin/csh -f
2#
3# This is a simple script demo for Draw Module on Unix platform.
4#
5# The V.E. CASROOT must be setted to the directory where CasCade 3.0 has been
6# downloaded.
7#
8setenv station `uname`
9if ( ${station} == "IRIX64" ) setenv station IRIX
10
11if (! ($?LD_LIBRARY_PATH) ) setenv LD_LIBRARY_PATH ""
12setenv LD_LIBRARY_PATH "${CASROOT}/${station}/lib:${LD_LIBRARY_PATH}"
13
14if ( ${station} == "AIX" ) then
15 setenv LIBPATH ${LD_LIBRARY_PATH}
16endif
17if ( ${station} == "HP-UX" ) then
18 setenv SHLIB_PATH ${LD_LIBRARY_PATH}
19endif
20if ( ${station} == "Linux" ) then
21 setenv LIBPATH "/usr/X11R6/lib:${LD_LIBRARY_PATH}"
22endif
23
24#
25# This is for setting VE used by Draw
26#
27# POP : Since C31 Version ; this Varaible are not Mandatory
28#setenv DRAWHOME $CASROOT/src/DrawResources
29#setenv DRAWDEFAULT $DRAWHOME/DrawDefault
30echo ""
31echo " Running demo using :"
32echo ""
33echo "LD_LIBRARY_PATH : $LD_LIBRARY_PATH"
34echo "CASROOT : $CASROOT"
35if ($?DRAWHOME) then
36 echo "DRAWHOME : $DRAWHOME"
37endif
38if ($?DRAWDEFAULT) then
39 echo "DRAWDEFAULT : $DRAWDEFAULT"
40endif
41#
42# Run the executable.
43#
44$CASROOT/${station}/bin/TTOPOLOGY
45#
46exit