/[Slicer3]/oldtrunk/slicer_variables.tcl
ViewVC logotype

Diff of /oldtrunk/slicer_variables.tcl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7537 by pieper, Fri Sep 5 18:55:08 2008 UTC revision 7539 by davisb, Fri Sep 5 21:31:19 2008 UTC
# Line 92  set ::TCL_VERSION tcl Line 92  set ::TCL_VERSION tcl
92    
93  # Set library, binary, etc. paths...  # Set library, binary, etc. paths...
94    
95  # if Slicer3_LIB and Slicer3_BUILD haven't been set,  # if Slicer3_LIB and Slicer3_BUILD haven't been set, first check
96  # then assume they are in the 'standard' places next to the source tree  # enviornment variables, then assume they are in the 'standard' places
97  # (as created by getbuildtest.tcl  # next to the source tree (as created by getbuildtest.tcl
98  if { ![info exists ::Slicer3_LIB] } {  if { ![info exists ::Slicer3_LIB] } {
99      set wd [pwd]      if { [info exists ::env(Slicer3_LIB)] } {
100      cd $::Slicer3_HOME/../Slicer3-lib          set ::Slicer3_LIB $::env(Slicer3_LIB)
101      set ::Slicer3_LIB [pwd]      } else {
102      cd $wd          set wd [pwd]
103            cd $::Slicer3_HOME/../Slicer3-lib
104            set ::Slicer3_LIB [pwd]
105            cd $wd
106        }
107  }  }
108  if { ![info exists ::Slicer3_BUILD] } {  if { ![info exists ::Slicer3_BUILD] } {
109      set wd [pwd]      if { [info exists ::env(Slicer3_BUILD)] } {
110      cd $::Slicer3_HOME/../Slicer3-build          set ::Slicer3_LIB $::env(Slicer3_BUILD)
111      set ::Slicer3_BUILD [pwd]      } else {
112      cd $wd          set wd [pwd]
113            cd $::Slicer3_HOME/../Slicer3-build
114            set ::Slicer3_BUILD [pwd]
115            cd $wd
116        }
117  }  }
118    
119  set ::TEEM_SRC_DIR  $::Slicer3_LIB/teem  set ::TEEM_SRC_DIR  $::Slicer3_LIB/teem

Legend:
Removed from v.7537  
changed lines
  Added in v.7539

  ViewVC Help
Powered by ViewVC 1.1.22