/[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 11425 by pieper, Tue Dec 29 17:11:39 2009 UTC revision 11703 by pieper, Tue Jan 19 19:55:13 2010 UTC
# Line 158  set ::SLICERLIBCURL_BUILD_DIR $::Slicer3 Line 158  set ::SLICERLIBCURL_BUILD_DIR $::Slicer3
158  # getbuildtest Option for build using system Python, should be "true" or "false"  # getbuildtest Option for build using system Python, should be "true" or "false"
159  set ::USE_SYSTEM_PYTHON "false"  set ::USE_SYSTEM_PYTHON "false"
160  # CMake option for Python, must be "OFF" on "ON", default is "ON"  # CMake option for Python, must be "OFF" on "ON", default is "ON"
161    # - note: as of python 2.6 this can only be used on windows with VS 2008
162    #   (this variable is forced to off later in this file if non-VS 2008 compiler is selected)
163  set ::USE_PYTHON "ON"  set ::USE_PYTHON "ON"
164    
165  # CMake option for numerical Python, only matters if Python is on  # CMake option for numerical Python, only matters if Python is on
# Line 576  switch $::tcl_platform(os) { Line 578  switch $::tcl_platform(os) {
578    
579          set ::COMPILER "cl"          set ::COMPILER "cl"
580          set ::SERIAL_MAKE $::MAKE          set ::SERIAL_MAKE $::MAKE
581    
582            if { ![string match "Visual Studio 9*" $::GENERATOR] } {
583              if { $::USE_PYTHON == "ON" }  {
584                puts "\n\n\nWarning: Python can only be built on Visual Studio 9 (2008) for windows.\n\n"
585                set ::USE_PYTHON "OFF"
586              }
587            }
588      }      }
589  }  }
590    

Legend:
Removed from v.11425  
changed lines
  Added in v.11703

  ViewVC Help
Powered by ViewVC 1.1.22