0025224: The section curve between two cylindrical faces is incomplete
[occt.git] / src / OS / Visualization.tcl
CommitLineData
973c2be1 1# Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 2#
973c2be1 3# This file is part of Open CASCADE Technology software library.
b311480e 4#
d5f74e42 5# This library is free software; you can redistribute it and/or modify it under
6# the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 7# by the Free Software Foundation, with special exception defined in the file
8# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9# distribution for complete text of the license and disclaimer of any warranty.
b311480e 10#
973c2be1 11# Alternatively, this file may be used under the terms of Open CASCADE
12# commercial license or contractual agreement.
b311480e 13
7fd59977 14;#
15;# Liste des toolkits WOK sous forme de full path
16;#
17proc Visualization:toolkits { } {
913a4c4a 18 set aResult [list TKService \
19 TKV3d \
20 TKOpenGl \
21 TKMeshVS \
22 TKNIS \
23 TKVoxel]
24
25 if { "$::env(HAVE_VTK)" == "true" } {
26 lappend aResult "TKIVtk"
27 }
28
29 return $aResult
7fd59977 30}
31;#
32;# Autres UDs a prendre.
33;#
34proc Visualization:ressources { } {
35 return [list \
7fd59977 36 [list both r Textures {}] \
4058ef10 37 [list both r Shaders {}] \
7fd59977 38 ]
39}
40;#
41;# Nom du module
42;#
43proc Visualization:name { } {
44 return Visualization
45}
46proc Visualization:alias { } {
47 return VIS
48}
49proc Visualization:depends { } {
50 return [list ModelingAlgorithms]
51}
046fed1e 52
53proc Visualization:acdepends { } {
913a4c4a 54 return [list X11 GL FREETYPE VTK]
046fed1e 55}
56
7fd59977 57;#
58;# Pre-requis pour la compilation ( -I ... )
59;# Returns a list of directory that should be used in -I directives
60;# while compiling c or c++ files.
61;#
62proc Visualization:CompileWith {} {
63
64 set l {}
65 switch -- [OS:os] {
66 HP-UX {
67 }
68 Linux {
69 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include"
70 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include/linux"
71 lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
72 lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"
73 }
74 SunOS {
75 lappend l "\$OPENWINHOME/include"
76 lappend l "/usr/openwin/include/X11"
77 lappend l "/usr/dt/include"
78 lappend l "[lindex [wokparam -v %CSF_CXX_INCLUDE] 0]"
79 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include"
80 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include/solaris"
81 lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
82 }
83 IRIX {
84 lappend l /usr/include/CC
85 }
86
87 }
88 return $l
89}
90;#
91;# Pre-requis pour la compilation ( -L ... )
92;# Returns a list of directory that should be used in -L directives
93;# while creating shareable.
94;#
95proc Visualization:LinksoWith { } {
96
97 set l {}
98 switch -- [OS:os] {
99 HP-UX {
100 }
101 Linux {
102 lappend l /usr/X11R6/lib
103 }
104 SunOS {
105 lappend l "-L[wokparam -v %CSF_TCL_HOME]/lib -R[wokparam -v %CSF_TCL_HOME]/lib -ltcl"
106 lappend l "-L[wokparam -v %CSF_TCL_HOME]/lib -R[wokparam -v %CSF_TCL_HOME]/lib -ltk"
107 lappend l /usr/openwin/lib
108 }
109 IRIX {
110 lappend l /usr/lib32
111 }
112
113 }
114 return $l
115}
116;#
117;# Returns a list of exported features.
118;# source : Source files
119;# runtime: Shareables
120;# wokadm : WOK admin files
121;# api : Public include files
122;#
123proc Visualization:Export { } {
124 return [list source runtime wokadm api]
125}