mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
eliminate TTMODELS from path
This commit is contained in:
parent
9b6e7fe8dc
commit
d3386f0ed1
@ -363,29 +363,40 @@ sub CTAttachCompute {
|
||||
# helps when attaching to unitialized trees that do not have
|
||||
# these directories yet (but will shortly).
|
||||
|
||||
$item = $root . "/bin" ;
|
||||
#if ( -e $item ) {
|
||||
# However, we *will* filter out any trees whose name ends in
|
||||
# "MODELS". These don't have subdirectories that we care about
|
||||
# in the normal sense.
|
||||
if ( ! ( $proj =~ /MODELS$/ ) ) {
|
||||
|
||||
$item = $root . "/bin" ;
|
||||
#if ( -e $item ) {
|
||||
&CTAttachMod( "PATH", $item, $root, $proj ) ;
|
||||
#}
|
||||
$item = $root . "/lib" ;
|
||||
#if ( -e $item ) {
|
||||
#}
|
||||
|
||||
$item = $root . "/lib" ;
|
||||
#if ( -e $item ) {
|
||||
if ( $ENV{"PENV"} eq "WIN32" ) {
|
||||
&CTAttachMod( "PATH", $item, $root, $proj ) ;
|
||||
}
|
||||
&CTAttachMod( "LD_LIBRARY_PATH", $item, $root, $proj ) ;
|
||||
#}
|
||||
$item = $root . "/src" ;
|
||||
#if ( -e $item ) {
|
||||
#}
|
||||
|
||||
$item = $root . "/src" ;
|
||||
#if ( -e $item ) {
|
||||
&CTAttachMod( "CDPATH", $item, $root, $proj ) ;
|
||||
#}
|
||||
$item = $root . "/include" ;
|
||||
#if ( -e $item ) {
|
||||
#}
|
||||
|
||||
$item = $root . "/include" ;
|
||||
#if ( -e $item ) {
|
||||
&CTAttachMod( "CT_INCLUDE_PATH", $item, $root, $proj ) ;
|
||||
#}
|
||||
$item = $root . "/etc" ;
|
||||
#if ( -e $item ) {
|
||||
#}
|
||||
|
||||
$item = $root . "/etc" ;
|
||||
#if ( -e $item ) {
|
||||
&CTAttachMod( "ETC_PATH", $item, $root, $proj ) ;
|
||||
#}
|
||||
#}
|
||||
}
|
||||
|
||||
&CTAttachMod( "CTPROJS", $proj . ":" . $flav, $root, $proj ) ;
|
||||
&CTAttachSet( $proj, $root ) ;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user