File: pkgIndex.tcl.in

package info (click to toggle)
paraview 3.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 124,600 kB
  • ctags: 133,728
  • sloc: cpp: 958,817; ansic: 509,658; tcl: 45,787; xml: 23,401; python: 19,574; perl: 3,112; yacc: 1,787; java: 1,517; sh: 665; asm: 471; lex: 400; makefile: 168; objc: 28
file content (12 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
package ifneeded {@PROJECT_NAME@TCL} {@VTK_MAJOR_VERSION@.@VTK_MINOR_VERSION@} {
  if {@VTKLOCAL_BUILD_SHARED_LIBS_CONFIG@} {
    package require -exact vtkinit {@VTK_MAJOR_VERSION@.@VTK_MINOR_VERSION@}
    foreach kit {@VTKLOCAL_KITS@} {
      package require -exact "${kit}TCL" {@VTK_MAJOR_VERSION@.@VTK_MINOR_VERSION@}
    }
    ::vtk::init::load_library_package {@PROJECT_NAME@TCL} {@VTKLOCAL_TCL_LIBRARY_DIR@}
  } else {
    error {Error loading @PROJECT_NAME@TCL.  @PROJECT_NAME@ must be built\
 with shared libraries for loading as a Tcl package.}
  }
}