소스 검색

added stuff for ttrader tree

Darren Ranalli 24 년 전
부모
커밋
0f68b4c9c0
2개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      direct/src/ffi/genPyCode
  2. 4 0
      direct/src/showbase/ppython

+ 6 - 0
direct/src/ffi/genPyCode

@@ -20,6 +20,12 @@ shift
 firstarg="$1"
 firstarg="$1"
 fi
 fi
 
 
+if [ "$firstarg" = "-tt" ]; then
+extra_genPyCode_libs="$extra_genPyCode_libs libttrader"
+shift
+firstarg="$1"
+fi
+
 if [ "$firstarg" = "-v" ]; then
 if [ "$firstarg" = "-v" ]; then
 extra_genPyCode_libs="$extra_genPyCode_libs libvrpn"
 extra_genPyCode_libs="$extra_genPyCode_libs libvrpn"
 shift
 shift

+ 4 - 0
direct/src/showbase/ppython

@@ -53,6 +53,10 @@ if [ "$BARTOP" ]; then
     BARTOP=`cygpath -w $BARTOP`
     BARTOP=`cygpath -w $BARTOP`
     export BARTOP
     export BARTOP
 fi
 fi
+if [ "$TTRADER" ]; then
+    TTRADER=`cygpath -w $TTRADER`
+    export TTRADER
+fi
 
 
 # Export the proper home environment variable
 # Export the proper home environment variable
 HOME=`cygpath -w $HOME`
 HOME=`cygpath -w $HOME`