1 # Copyright (c) 1999-2012 OPEN CASCADE SAS
3 # The content of this file is subject to the Open CASCADE Technology Public
4 # License Version 6.5 (the "License"). You may not use the content of this file
5 # except in compliance with the License. Please obtain a copy of the License
6 # at http://www.opencascade.org and read it completely before using this file.
8 # The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
9 # main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
11 # The Original Code and all software distributed under the License is
12 # distributed on an "AS IS" basis, without warranty of any kind, and the
13 # Initial Developer hereby disclaims all such warranties, including without
14 # limitation, any warranties of merchantability, fitness for a particular
15 # purpose or non-infringement. Please see the License for the specific terms
16 # and conditions governing the rights and limitations under the License.
19 ;# Liste des toolkits WOK sous forme de full path
21 proc Visualization:toolkits { } {
22 return [list TKService \
32 ;# Autres UDs a prendre.
34 proc Visualization:ressources { } {
36 [list both r FontMFT {}] \
37 [list both r Textures {}] \
38 [list both n VoxelClient {}] \
44 proc Visualization:name { } {
47 proc Visualization:alias { } {
50 proc Visualization:depends { } {
51 return [list ModelingAlgorithms]
54 ;# Pre-requis pour la compilation ( -I ... )
55 ;# Returns a list of directory that should be used in -I directives
56 ;# while compiling c or c++ files.
58 proc Visualization:CompileWith {} {
65 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include"
66 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include/linux"
67 lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
68 lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"
71 lappend l "\$OPENWINHOME/include"
72 lappend l "/usr/openwin/include/X11"
73 lappend l "/usr/dt/include"
74 lappend l "[lindex [wokparam -v %CSF_CXX_INCLUDE] 0]"
75 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include"
76 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include/solaris"
77 lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
80 lappend l /usr/include/CC
87 ;# Pre-requis pour la compilation ( -L ... )
88 ;# Returns a list of directory that should be used in -L directives
89 ;# while creating shareable.
91 proc Visualization:LinksoWith { } {
98 lappend l /usr/X11R6/lib
101 lappend l "-L[wokparam -v %CSF_TCL_HOME]/lib -R[wokparam -v %CSF_TCL_HOME]/lib -ltcl"
102 lappend l "-L[wokparam -v %CSF_TCL_HOME]/lib -R[wokparam -v %CSF_TCL_HOME]/lib -ltk"
103 lappend l /usr/openwin/lib
113 ;# Returns a list of exported features.
114 ;# source : Source files
115 ;# runtime: Shareables
116 ;# wokadm : WOK admin files
117 ;# api : Public include files
119 proc Visualization:Export { } {
120 return [list source runtime wokadm api]