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 ModelingAlgorithms:toolkits { } {
22 return [list TKGeomAlgo \
37 ;# Autres UDs a prendre.
39 proc ModelingAlgorithms:ressources { } {
45 proc ModelingAlgorithms:name { } {
46 return ModelingAlgorithms
48 proc ModelingAlgorithms:alias { } {
51 proc ModelingAlgorithms:depends { } {
52 return [list ModelingData]
55 ;# Pre-requis pour la compilation ( -I ... )
56 ;# Returns a list of directory that should be used in -I directives
57 ;# while compiling c or c++ files.
59 proc ModelingAlgorithms:CompileWith { } {
66 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include"
67 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include/solaris"
68 lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
69 lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"
72 lappend l "/usr/openwin/include"
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 ModelingAlgorithms:LinksoWith { } {
100 lappend l "-L[wokparam -v %CSF_TCL_HOME]/lib -R[wokparam -v %CSF_TCL_HOME]/lib -ltcl"
101 lappend l "-L[wokparam -v %CSF_TCL_HOME]/lib -R[wokparam -v %CSF_TCL_HOME]/lib -ltk"
102 lappend l /usr/openwin/lib
112 ;# Returns a list of exported features.
113 ;# source : Source files
114 ;# runtime: Shareables
115 ;# wokadm : WOK admin files
116 ;# api : Public include files
118 proc ModelingAlgorithms:Export { } {
119 return [list source runtime wokadm api]