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

Contents of /oldtrunk/slicer_variables.tcl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7453 - (show annotations) (download) (as text)
Mon Aug 18 01:57:49 2008 UTC (9 years, 2 months ago) by blezek
Original Path: trunk/slicer_variables.tcl
File MIME type: application/x-tcl
File size: 18117 byte(s)
ENH: Make Python an option
1
2 #
3 # Note: this local vars file overrides sets the default environment for :
4 # Scripts/genlib.tcl -- make all the support libs
5 # Scripts/cmaker.tcl -- makes slicer code
6 # launch.tcl -- sets up the runtime env and starts slicer
7 # Scripts/tarup.tcl -- makes a tar.gz files with all the support files
8 #
9 # - use this file to set your local environment and then your change won't
10 # be overwritten when those files are updated through CVS
11 #
12
13
14 ## variables that are the same for all systems
15 set ::Slicer3_DATA_ROOT ""
16
17 if {[info exists ::env(Slicer3_HOME)]} {
18 # already set by the launcher
19 set ::Slicer3_HOME $::env(Slicer3_HOME)
20 } else {
21 # if sourcing this into cmaker, Slicer3_HOME may not be set
22 # set the Slicer3_HOME directory to the one in which this script resides
23 set cwd [pwd]
24 cd [file dirname [info script]]
25 set ::Slicer3_HOME [pwd]
26 set ::env(Slicer3_HOME) $::Slicer3_HOME
27 cd $cwd
28 }
29
30 # set up variables for the OS Builds, to facilitate the move to solaris9
31 # - solaris can be solaris8 or solaris9
32 set ::SOLARIS "solaris8"
33 set ::LINUX "linux-x86"
34 set ::LINUX_64 "linux-x86_64"
35 set ::DARWIN "darwin-ppc"
36 set ::DARWIN_X86 "darwin-x86"
37 set ::WINDOWS "win32"
38
39 #
40 # set the default locations for the main components
41 #
42 switch $::tcl_platform(os) {
43 "SunOS" { set ::env(BUILD) $::SOLARIS }
44 "Linux" {
45 if {$::tcl_platform(machine) == "x86_64"} {
46 set ::env(BUILD) $::LINUX_64
47 } else {
48 set ::env(BUILD) $::LINUX
49 }
50 }
51 "Darwin" {
52 if {$::tcl_platform(machine) == "i386"} {
53 set ::env(BUILD) $::DARWIN_X86
54 } else {
55 set ::env(BUILD) $::DARWIN
56 }
57 }
58 default {
59 set ::env(BUILD) $::WINDOWS
60 set ::Slicer3_HOME [file attributes $::Slicer3_HOME -shortname]
61 set ::env(Slicer3_HOME) $::Slicer3_HOME
62 }
63 }
64
65 puts stderr "Slicer3_HOME is $::Slicer3_HOME"
66
67 # Choose which library versions you want to compile against. These
68 # shouldn't be changed between releases except for testing purposes.
69 # If you change them and Slicer breaks, you get to keep both pieces.
70 #
71 # When modifying these variables, make sure to make appropriate
72 # changes in the "Files to test if library has already been built"
73 # section below, or genlib will happily build the library again.
74
75 set ::Slicer3_TAG "http://svn.slicer.org/Slicer3/trunk"
76 set ::CMAKE_TAG "CMake-2-6"
77 set ::TEEM_TAG "Teem-1-9-0-patches"
78 set ::KWWidgets_TAG "HEAD"
79 set ::VTK_TAG "VTK-5-2"
80 set ::ITK_TAG ITK-3-8
81 set ::PYTHON_TAG "http://svn.python.org/projects/python/branches/release25-maint"
82 set ::NUMPY_TAG "http://svn.scipy.org/svn/numpy/trunk"
83 set ::SCIPY_TAG "http://svn.scipy.org/svn/scipy/trunk"
84 set ::SLICERLIBCURL_TAG "HEAD"
85
86 # Set library, binary, etc. paths...
87
88 # if Slicer3_LIB and Slicer3_BUILD haven't been set,
89 # then assume they are in the 'standard' places next to the source tree
90 # (as created by getbuildtest.tcl
91 if { ![info exists ::Slicer3_LIB] } {
92 set wd [pwd]
93 cd $::Slicer3_HOME/../Slicer3-lib
94 set ::Slicer3_LIB [pwd]
95 cd $wd
96 }
97 if { ![info exists ::Slicer3_BUILD] } {
98 set wd [pwd]
99 cd $::Slicer3_HOME/../Slicer3-build
100 set ::Slicer3_BUILD [pwd]
101 cd $wd
102 }
103
104 set ::TEEM_SRC_DIR $::Slicer3_LIB/teem
105 set ::TEEM_BUILD_DIR $::Slicer3_LIB/teem-build
106 set ::VTK_DIR $::Slicer3_LIB/VTK-build
107 set ::VTK_SRC_DIR $::Slicer3_LIB/VTK
108 if { ![info exists ::VTK_BUILD_TYPE] } {
109 # set a default if it hasn't already been specified
110 set ::VTK_BUILD_TYPE "Debug" ;# options: Release, RelWithDebInfo, Debug
111 }
112 set ::VTK_BUILD_SUBDIR $::VTK_BUILD_TYPE
113 set ::env(VTK_BUILD_TYPE) $::VTK_BUILD_TYPE
114 set ::KWWidgets_BUILD_DIR $::Slicer3_LIB/KWWidgets-build
115 set ::KWWIDGETS_DIR $::Slicer3_LIB/KWWidgets
116 set ::ITK_BINARY_PATH $::Slicer3_LIB/Insight-build
117 set ::TCL_BIN_DIR $::Slicer3_LIB/tcl-build/bin
118 set ::TCL_LIB_DIR $::Slicer3_LIB/tcl-build/lib
119 set ::TCL_INCLUDE_DIR $::Slicer3_LIB/tcl-build/include
120 set ::PYTHON_BIN_DIR $::Slicer3_LIB/python-build
121 set ::CMAKE_PATH $::Slicer3_LIB/CMake-build
122 set ::SOV_BINARY_DIR ""
123 set ::XVNC_EXECUTABLE " "
124 set ::IGSTK_DIR $::Slicer3_LIB/IGSTK-build
125 set ::SLICERLIBCURL_SRC_DIR $::Slicer3_LIB/cmcurl
126 set ::SLICERLIBCURL_BUILD_DIR $::Slicer3_LIB/cmcurl-build
127
128
129 # Options for building IGT modules in Slicer
130 set ::IGSTK "OFF"
131 set ::NAVITRACK "OFF"
132
133 # Option for build using system Python, should be "true" or "false"
134 set ::USE_SYSTEM_PYTHON "false"
135 # CMake option for Python, must be "off" on "on", default is "off"
136 set ::USE_PYTHON "OFF"
137
138 # The absolute path and directory containing the navitrack library,
139 # for instance on linux the libNaviTrack.so
140 # set ::NAVITRACK_LIB_DIR /home/hliu/projects/navitrack/NaviTrack-build
141 set ::NAVITRACK_LIB_DIR ""
142
143 # The navitrack include directry, e.g.
144 # /home/hliu/projects/navitrack/NaviTrack/include
145 # set ::NAVITRACK_INC_DIR /home/hliu/projects/navitrack/NaviTrack/include
146 set ::NAVITRACK_INC_DIR ""
147
148 switch $::tcl_platform(os) {
149 "SunOS" {
150 set shared_lib_ext "so"
151 }
152 "Linux" {
153 set shared_lib_ext "so"
154 }
155 "Darwin" {
156 set shared_lib_ext "dylib"
157 }
158 "Windows NT" {
159 set shared_lib_ext "dll"
160 }
161 }
162
163 # TODO: identify files for each platform
164
165 switch $::tcl_platform(os) {
166 "SunOS" {
167 set ::VTK_BUILD_SUBDIR ""
168 set ::TEEM_BIN_DIR $::TEEM_BUILD_DIR/bin
169
170 set ::INCR_TCL_LIB $::TCL_LIB_DIR/lib/libitcl3.2.so
171 set ::INCR_TK_LIB $::TCL_LIB_DIR/lib/libitk3.2.so
172
173 set ::TCL_TEST_FILE $::TCL_BIN_DIR/tclsh8.4
174 if { $::USE_SYSTEM_PYTHON } {
175 error "need to define system python path for $::tcl_platform(os)"
176 }
177 set ::PYTHON_TEST_FILE $::PYTHON_BIN_DIR/bin/python
178 set ::PYTHON_LIB $::PYTHON_BIN_DIR/lib/libpython25.so
179 set ::PYTHON_INCLUDE $::PYTHON_BIN_DIR/include/python25
180 set ::NUMPY_TEST_FILE $::PYTHON_BIN_DIR/lib/python2.5/site-packages/numpy/core/numeric.pyc
181 set ::SCIPY_TEST_FILE $::PYTHON_BIN_DIR/lib/python2.5/site-packages/scipy/version.pyc
182 set ::TK_TEST_FILE $::TCL_BIN_DIR/wish8.4
183 set ::ITCL_TEST_FILE $::TCL_LIB_DIR/libitcl3.2.so
184 set ::TEEM_TEST_FILE $::TEEM_BIN_DIR/unu
185 set ::VTK_TEST_FILE $::VTK_DIR/bin/vtk
186 set ::KWWidgets_TEST_FILE $::KWWidgets_BUILD_DIR/bin/libKWWidgets.so
187 set ::VTK_TCL_LIB $::TCL_LIB_DIR/libtcl8.4.$shared_lib_ext
188 set ::VTK_TK_LIB $::TCL_LIB_DIR/libtk8.4.$shared_lib_ext
189 set ::VTK_TCLSH $::TCL_BIN_DIR/tclsh8.4
190 set ::ITK_TEST_FILE $::ITK_BINARY_PATH/bin/libITKCommon.$shared_lib_ext
191 set ::TK_EVENT_PATCH $::Slicer3_HOME/tkEventPatch.diff
192 set ::env(VTK_BUILD_SUBDIR) $::VTK_BUILD_SUBDIR
193 set ::IGSTK_TEST_FILE $::IGSTK_DIR/bin/libIGSTK.$shared_lib_ext
194 set ::SLICERLIBCURL_TEST_FILE $::SLICERLIBCURL_BUILD_DIR/bin/libslicerlibcurl.$shared_lib_ext
195 set ::IWIDGETS_TEST_FILE $::TCL_LIB_DIR/iwidgets4.0.1/iwidgets.tcl
196 set ::BLT_TEST_FILE $::TCL_BIN_DIR/bltwish24
197 }
198 "Darwin" {
199 set ::VTK_BUILD_SUBDIR ""
200 set ::TEEM_BIN_DIR $::TEEM_BUILD_DIR/bin
201
202 set ::TCL_TEST_FILE $::TCL_BIN_DIR/tclsh8.4
203 set ::TK_TEST_FILE $::TCL_BIN_DIR/wish8.4
204 set ::INCR_TCL_LIB $::TCL_LIB_DIR/lib/libitcl3.2.dylib
205 set ::INCR_TK_LIB $::TCL_LIB_DIR/lib/libitk3.2.dylib
206 if { $::USE_SYSTEM_PYTHON } {
207 set ::PYTHON_BIN_DIR /usr
208 }
209 set ::PYTHON_TEST_FILE $::PYTHON_BIN_DIR/bin/python
210 set ::PYTHON_LIB $::PYTHON_BIN_DIR/lib/libpython2.5.dylib
211 set ::PYTHON_INCLUDE $::PYTHON_BIN_DIR/include/python2.5
212 set ::NUMPY_TEST_FILE $::PYTHON_BIN_DIR/lib/python2.5/site-packages/numpy/core/numeric.pyc
213 set ::SCIPY_TEST_FILE $::PYTHON_BIN_DIR/lib/python2.5/site-packages/scipy/version.pyc
214 set ::ITCL_TEST_FILE $::TCL_LIB_DIR/libitcl3.2.dylib
215 set ::IWIDGETS_TEST_FILE $::TCL_LIB_DIR/iwidgets4.0.1/iwidgets.tcl
216 set ::BLT_TEST_FILE $::TCL_BIN_DIR/bltwish24
217 set ::TEEM_TEST_FILE $::TEEM_BIN_DIR/unu
218 set ::VTK_TEST_FILE $::VTK_DIR/bin/vtk
219 set ::KWWidgets_TEST_FILE $::KWWidgets_BUILD_DIR/bin/libKWWidgets.$shared_lib_ext
220 set ::VTK_TCL_LIB $::TCL_LIB_DIR/libtcl8.4.$shared_lib_ext
221 set ::VTK_TK_LIB $::TCL_LIB_DIR/libtk8.4.$shared_lib_ext
222 set ::VTK_TCLSH $::TCL_BIN_DIR/tclsh8.4
223 set ::ITK_TEST_FILE $::ITK_BINARY_PATH/bin/libITKCommon.$shared_lib_ext
224 set ::TK_EVENT_PATCH $::Slicer3_HOME/tkEventPatch.diff
225 set ::env(VTK_BUILD_SUBDIR) $::VTK_BUILD_SUBDIR
226 set ::IGSTK_TEST_FILE $::IGSTK_DIR/bin/libIGSTK.$shared_lib_ext
227 set ::SLICERLIBCURL_TEST_FILE $::SLICERLIBCURL_BUILD_DIR/bin/libslicerlibcurl.a
228
229 }
230 "Linux" {
231 set ::VTK_BUILD_SUBDIR ""
232 set ::TEEM_BIN_DIR $::TEEM_BUILD_DIR/bin
233
234 set ::TCL_TEST_FILE $::TCL_BIN_DIR/tclsh8.4
235 set ::INCR_TCL_LIB $::TCL_LIB_DIR/lib/libitcl3.2.so
236 set ::INCR_TK_LIB $::TCL_LIB_DIR/lib/libitk3.2.so
237 set ::IWIDGETS_TEST_FILE $::TCL_LIB_DIR/iwidgets4.0.1/iwidgets.tcl
238 set ::BLT_TEST_FILE $::TCL_BIN_DIR/bltwish24
239 if { $::USE_SYSTEM_PYTHON } {
240 error "need to define system python path for $::tcl_platform(os)"
241 }
242 set ::PYTHON_TEST_FILE $::PYTHON_BIN_DIR/bin/python
243 set ::PYTHON_LIB $::PYTHON_BIN_DIR/lib/libpython2.5.so
244 set ::PYTHON_INCLUDE $::PYTHON_BIN_DIR/include/python2.5
245 set ::NUMPY_TEST_FILE $::PYTHON_BIN_DIR/lib/python2.5/site-packages/numpy/core/numeric.pyc
246 set ::SCIPY_TEST_FILE $::PYTHON_BIN_DIR/lib/python2.5/site-packages/scipy/version.pyc
247 set ::TK_TEST_FILE $::TCL_BIN_DIR/wish8.4
248 set ::ITCL_TEST_FILE $::TCL_LIB_DIR/libitcl3.2.so
249 set ::TEEM_TEST_FILE $::TEEM_BIN_DIR/unu
250 set ::VTK_TEST_FILE $::VTK_DIR/bin/vtk
251 set ::KWWidgets_TEST_FILE $::KWWidgets_BUILD_DIR/bin/libKWWidgets.so
252 set ::VTK_TCL_LIB $::TCL_LIB_DIR/libtcl8.4.$shared_lib_ext
253 set ::VTK_TK_LIB $::TCL_LIB_DIR/libtk8.4.$shared_lib_ext
254 set ::VTK_TCLSH $::TCL_BIN_DIR/tclsh8.4
255 set ::ITK_TEST_FILE $::ITK_BINARY_PATH/bin/libITKCommon.$shared_lib_ext
256 set ::TK_EVENT_PATCH $::Slicer3_HOME/tkEventPatch.diff
257 set ::env(VTK_BUILD_SUBDIR) $::VTK_BUILD_SUBDIR
258 set ::IGSTK_TEST_FILE $::IGSTK_DIR/bin/libIGSTK.$shared_lib_ext
259 set ::SLICERLIBCURL_TEST_FILE $::SLICERLIBCURL_BUILD_DIR/bin/libslicerlibcurl.a
260
261 }
262 "Windows NT" {
263 # Windows NT currently covers WinNT, Win2000, XP Home, XP Pro
264
265 set ::VTK_BUILD_SUBDIR $::VTK_BUILD_TYPE
266 set ::TEEM_BIN_DIR $::TEEM_BUILD_DIR/bin/$::VTK_BUILD_TYPE
267
268 set ::env(VTK_BUILD_SUBDIR) $::VTK_BUILD_SUBDIR
269 set ::TCL_TEST_FILE $::TCL_BIN_DIR/tclsh84.exe
270 set ::TK_TEST_FILE $::TCL_BIN_DIR/wish84.exe
271 set ::ITCL_TEST_FILE $::TCL_LIB_DIR/itclConfig.sh
272 set ::INCR_TCL_LIB $::TCL_LIB_DIR/lib/itcl3.2/itcl32.lib
273 set ::INCR_TK_LIB $::TCL_LIB_DIR/lib/itk3.2/itk32.lib
274 set ::IWIDGETS_TEST_FILE $::TCL_LIB_DIR/iwidgets4.0.2/iwidgets.tcl
275 set ::BLT_TEST_FILE $::TCL_BIN_DIR/BLT24.dll
276 set ::TEEM_TEST_FILE $::TEEM_BIN_DIR/unu.exe
277 if { $::USE_SYSTEM_PYTHON } {
278 error "need to define system python path for $::tcl_platform(os)"
279 }
280 set ::PYTHON_TEST_FILE $::PYTHON_BIN_DIR/bin/python.exe
281 set ::PYTHON_LIB $::PYTHON_BIN_DIR/Libs/python25.lib
282 set ::PYTHON_INCLUDE $::PYTHON_BIN_DIR/include
283 set ::NUMPY_TEST_FILE $::PYTHON_BIN_DIR/lib/python2.5/site-packages/numpy/core/numeric.pyc
284 set ::SCIPY_TEST_FILE $::PYTHON_BIN_DIR/lib/python2.5/site-packages/scipy/version.pyc
285 set ::VTK_TEST_FILE $::VTK_DIR/bin/$::VTK_BUILD_TYPE/vtk.exe
286 set ::KWWidgets_TEST_FILE $::KWWidgets_BUILD_DIR/bin/$::env(VTK_BUILD_SUBDIR)/KWWidgets.lib
287 set ::VTK_TCL_LIB $::TCL_LIB_DIR/tcl84.lib
288 set ::VTK_TK_LIB $::TCL_LIB_DIR/tk84.lib
289 set ::VTK_TCLSH $::TCL_BIN_DIR/tclsh84.exe
290 set ::ITK_TEST_FILE $::ITK_BINARY_PATH/bin/$::VTK_BUILD_TYPE/ITKCommon.dll
291 set ::IGSTK_TEST_FILE $::IGSTK_DIR/bin/$::VTK_BUILD_TYPE/IGSTK.lib
292 set ::SLICERLIBCURL_TEST_FILE $::SLICERLIBCURL_BUILD_DIR/bin/$::VTK_BUILD_TYPE/slicerlibcurl.lib
293 }
294 default {
295 puts stderr "Could not match platform \"$::tcl_platform(os)\"."
296 exit
297 }
298 }
299
300 # System dependent variables
301
302 switch $::tcl_platform(os) {
303 "SunOS" {
304 set ::VTKSLICERBASE_BUILD_LIB $::Slicer3_HOME/Base/builds/$::env(BUILD)/bin/vtkSlicerBase.so
305 set ::VTKSLICERBASE_BUILD_TCL_LIB $::Slicer3_HOME/Base/builds/$::env(BUILD)/bin/vtkSlicerBaseTCL.so
306 set ::GENERATOR "Unix Makefiles"
307 set ::COMPILER_PATH "/usr/sfw/bin"
308 set ::COMPILER "g++"
309 set ::CMAKE $::CMAKE_PATH/bin/cmake
310 set numCPUs [lindex [exec /usr/sbin/psrinfo | grep on-line | wc -l | tr -d ''] 0]
311 set ::MAKE "gmake -j[expr $numCPUs]"
312 set ::SERIAL_MAKE "gmake"
313 }
314 "Linux" {
315 set ::VTKSLICERBASE_BUILD_LIB $::Slicer3_HOME/Base/builds/$::env(BUILD)/bin/vtkSlicerBase.so
316 set ::VTKSLICERBASE_BUILD_TCL_LIB $::Slicer3_HOME/Base/builds/$::env(BUILD)/bin/vtkSlicerBaseTCL.so
317 set ::GENERATOR "Unix Makefiles"
318 set ::COMPILER_PATH "/usr/bin"
319 set ::COMPILER "g++"
320 set ::CMAKE $::CMAKE_PATH/bin/cmake
321 set numCPUs [lindex [exec grep processor /proc/cpuinfo | wc] 0]
322 set ::MAKE "make -j [expr $numCPUs * 2]"
323 set ::SERIAL_MAKE "make"
324 }
325 "Darwin" {
326 set ::VTKSLICERBASE_BUILD_LIB $::Slicer3_HOME/Base/builds/$::env(BUILD)/bin/vtkSlicerBase.dylib
327 set ::VTKSLICERBASE_BUILD_TCL_LIB $::Slicer3_HOME/Base/builds/$::env(BUILD)/bin/vtkSlicerBaseTCL.dylib
328 set ::GENERATOR "Unix Makefiles"
329 set ::COMPILER_PATH "/usr/bin"
330 set ::COMPILER "g++"
331 set ::CMAKE $::CMAKE_PATH/bin/cmake
332 set ::MAKE make
333 set ::SERIAL_MAKE make
334 }
335 default {
336 # different windows machines say different things, so assume
337 # that if it doesn't match above it must be windows
338 # (VC7 is Visual C++ 7.0, also known as the .NET version)
339
340
341 set ::VTKSLICERBASE_BUILD_LIB $::Slicer3_HOME/Base/builds/$::env(BUILD)/bin/$::VTK_BUILD_TYPE/vtkSlicerBase.lib
342 set ::VTKSLICERBASE_BUILD_TCL_LIB $::Slicer3_HOME/Base/builds/$::env(BUILD)/bin/$::VTK_BUILD_TYPE/vtkSlicerBaseTCL.lib
343
344 set ::CMAKE $::CMAKE_PATH/bin/cmake.exe
345
346 set MSVC6 0
347 #
348 ## match this to the version of the compiler you have:
349 #
350
351 ## for Visual Studio 6:
352 #set ::GENERATOR "Visual Studio 6"
353 #set ::MAKE "msdev"
354 #set ::COMPILER_PATH ""
355 #set MSVC6 1
356
357 if {[info exists ::env(MSVC6)]} {
358 set ::MSVC6 $::env(MSVC6)
359 } else {
360 }
361
362 ## for Visual Studio 7:
363 if {[info exists ::env(GENERATOR)]} {
364 set ::GENERATOR $::env(GENERATOR)
365 } else {
366 set ::GENERATOR "Visual Studio 7"
367 }
368
369 if {[info exists ::env(MAKE)]} {
370 set ::MAKE $::env(MAKE)
371 } else {
372 set ::MAKE "c:/Program\ Files/Microsoft\ Visual\ Studio\ .NET/Common7/IDE/devenv"
373 }
374
375 if {[info exists ::env(COMPILER_PATH)]} {
376 set ::COMPILER_PATH $::env(COMPILER_PATH)
377 } else {
378 set ::COMPILER_PATH "c:/Program\ Files/Microsoft\ Visual\ Studio\ .NET/Common7/Vc7/bin"
379 }
380
381 #
382 ## for Visual Studio 7.1:
383 # - automatically use newer if available
384 #
385 if { [file exists "c:/Program Files/Microsoft Visual Studio .NET 2003/Common7/IDE/devenv.exe"] } {
386 set ::GENERATOR "Visual Studio 7 .NET 2003"
387 set ::MAKE "c:/Program\ Files/Microsoft\ Visual\ Studio\ .NET 2003/Common7/IDE/devenv"
388 set ::COMPILER_PATH "c:/Program\ Files/Microsoft\ Visual\ Studio\ .NET 2003/Vc7/bin"
389 }
390
391 #
392 ## for Visual Studio 8
393 # - automatically use newest if available
394 # - use full if available, otherwise express
395 # - use the 64 bit version if available
396 #
397 if { [file exists "c:/Program Files/Microsoft Visual Studio 8/Common7/IDE/VCExpress.exe"] } {
398 set ::GENERATOR "Visual Studio 8 2005"
399 set ::MAKE "c:/Program Files/Microsoft Visual Studio 8/Common7/IDE/VCExpress.exe"
400 set ::COMPILER_PATH "c:/Program Files/Microsoft Visual Studio 8/VC/bin"
401 }
402
403
404 if { [file exists "c:/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.exe"] } {
405 set ::GENERATOR "Visual Studio 8 2005"
406 set ::MAKE "c:/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.exe"
407 set ::COMPILER_PATH "c:/Program Files/Microsoft Visual Studio 8/VC/bin"
408 }
409
410 if { [file exists "c:/Program Files (x86)/Microsoft Visual Studio 8/Common7/IDE/devenv.exe"] } {
411 #set ::GENERATOR "Visual Studio 8 2005 Win64"
412 set ::GENERATOR "Visual Studio 8 2005" ;# do NOT use the 64 bit target
413 set ::MAKE "c:/Program Files (x86)/Microsoft Visual Studio 8/Common7/IDE/devenv.exe"
414 set ::COMPILER_PATH "c:/Program Files (x86)/Microsoft Visual Studio 8/VC/bin"
415 }
416 #
417 ## for Visual Studio 9
418 if { [file exists "c:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/VCExpress.exe"] } {
419 set ::GENERATOR "Visual Studio 9 2008"
420 set ::MAKE "c:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/VCExpress.exe"
421 set ::COMPILER_PATH "c:/Program Files/Microsoft Visual Studio 9.0/VC/bin"
422
423 }
424
425 if { [file exists "c:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/devenv.exe"] } {
426 set ::GENERATOR "Visual Studio 9 2008"
427 set ::MAKE "c:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/devenv.exe"
428 set ::COMPILER_PATH "c:/Program Files/Microsoft Visual Studio 9.0/VC/bin"
429 }
430
431 set ::COMPILER "cl"
432 set ::SERIAL_MAKE $::MAKE
433 }
434 }
435
436

  ViewVC Help
Powered by ViewVC 1.1.22