Salome HOME
spns #19079: rename top-ii-vol SALOME interface
[tools/sat_salome.git] / products / SMESH.pyconf
1 default :
2 {
3     name : "SMESH"
4     build_source : "cmake"
5     # cmake option SALOME_SMESH_BUILD_FRENCH_DOC=OFF until SMESH doc has been translated
6     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON -DSALOME_SMESH_BUILD_FRENCH_DOC=OFF -DSALOME_SMESH_USE_TBB=ON"
7     get_source : "git"
8     git_info:
9     {
10         repo : $PROJECTS.projects.salome.git_info.default_git_server + "modules/smesh.git"
11         repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "smesh.git"
12     }
13     environ :
14     {
15         _SMESH_MeshersList : "StdMeshers"
16         SalomeAppConfig_ : $install_dir + $VARS.sep + "share" + $VARS.sep + "salome" + $VARS.sep + "resources" + $VARS.sep + "smesh"
17     }
18     depend : ["KERNEL",
19               "GUI",
20               "GEOM",
21               "MEDCOUPLING",
22               "Python",
23               "qt",
24               "PyQt",
25               "boost",
26               "CAS",
27               "hdf5",
28               "medfile",
29               "qwt",
30               "ParaView",
31               "libxml2",
32               "omniORB",
33               "docutils",
34               "Sphinx",
35               "Jinja2",
36               "setuptools",
37               "Pygments",
38               "cgns",
39               "six",
40               "pytz",
41               "sphinxintl",
42               "tbb"
43              ]
44     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
45     opt_depend : ['SHAPERSTUDY', 'TopIIVolMesh']
46     patches : []
47     check_install : ["share/doc/salome/gui/SMESH/yams/index.html"]
48     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
49     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
50     properties:
51     {
52         incremental : "yes"
53         has_salome_gui : "yes"
54         is_SALOME_module : "yes"
55         has_unit_tests
56     }
57 }
58
59 default_win :
60 {
61     cmake_options : " -DSWIG_EXECUTABLE=%SWIG_ROOT_DIR:\=/%/bin/swig.exe -DSALOME_SMESH_USE_CGNS:BOOL=ON -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON -DSALOME_SMESH_BUILD_FRENCH_DOC=OFF -DSALOME_SMESH_USE_TBB=ON"
62     depend : ["KERNEL",
63               "GUI",
64               "GEOM",
65               "MEDCOUPLING",
66               "Python",
67               "qt",
68               "PyQt",
69               "boost",
70               "CAS",
71               "hdf5",
72               "medfile",
73               "qwt",
74               "ParaView",
75               "libxml2",
76               "omniORB",
77               "docutils",
78               "Sphinx",
79               "Jinja2",
80               "setuptools",
81               "Pygments",
82               "cgns",
83               "six",
84               "pytz",
85               "Sphinx",
86               "sphinxintl",
87               "tbb"
88             ]
89     build_depend : ["cmake", "swig", "doxygen", "cppunit", "f2c"]
90 }
91
92 default_MPI :
93 {
94     depend : ["KERNEL",
95               "GUI",
96               "GEOM",
97               "MEDCOUPLING",
98               "Python",
99               "qt",
100               "PyQt",
101               "boost",
102               "CAS",
103               "hdf5",
104               "medfile",
105               "qwt",
106               "ParaView",
107               "libxml2",
108               "omniORB",
109               "docutils",
110               "Sphinx",
111               "Jinja2",
112               "setuptools",
113               "Pygments",
114               "cgns",
115               "six",
116               "pytz",
117               "sphinxintl",
118               "tbb",
119               "openmpi"
120              ]
121 }
122
123 version_V9_3_0 :
124 {
125     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON -DSALOME_SMESH_BUILD_FRENCH_DOC=OFF"
126     depend : ["KERNEL",
127               "GUI",
128               "GEOM",
129               "MEDCOUPLING",
130               "Python",
131               "qt",
132               "PyQt",
133               "boost",
134               "CAS",
135               "hdf5",
136               "medfile",
137               "qwt",
138               "ParaView",
139               "libxml2",
140               "omniORB",
141               "docutils",
142               "Sphinx",
143               "Jinja2",
144               "setuptools",
145               "Pygments",
146               "cgns",
147               "six",
148               "pytz",
149               "sphinxintl",
150               "sphinxcontrib_napoleon"
151              ]
152     patches : []
153 }
154
155 version_V9_3_0_win :
156 {
157     cmake_options : " -DSWIG_EXECUTABLE=%SWIG_ROOT_DIR:\=/%/bin/swig.exe -DSALOME_SMESH_USE_CGNS:BOOL=ON -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON -DSALOME_SMESH_BUILD_FRENCH_DOC=OFF"
158 }
159
160 # Starting from SALOME 9.4.0, we use tbb as product and build SMESH using it to accelerate its performances
161 version_8_5_0_to_9_2_1 :
162 {
163     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON -DSALOME_SMESH_BUILD_FRENCH_DOC=OFF"
164     depend : ["KERNEL",
165               "GUI",
166               "GEOM",
167               "MEDCOUPLING",
168               "Python",
169               "qt",
170               "PyQt",
171               "boost",
172               "CAS",
173               "hdf5",
174               "medfile",
175               "qwt",
176               "ParaView",
177               "libxml2",
178               "omniORB",
179               "docutils",
180               "Sphinx",
181               "Jinja2",
182               "setuptools",
183               "Pygments",
184               "cgns",
185               "six",
186               "pytz",
187               "sphinxintl",
188               "sphinxcontrib_napoleon"
189              ]
190     patches : []
191 }
192
193 # OP 19/04/2018 Add section for SALOME 7.8.0 to 8.4.0 due to new dependencies in SALOME 8.5.0
194 version_7_8_0_to_8_4_0 :
195 {
196     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON"
197     environ :
198     {
199     }
200     depend : ["KERNEL",
201               "GUI",
202               "GEOM",
203               "MEDCOUPLING",
204               "Python",
205               "qt",
206               "PyQt",
207               "boost",
208               "CAS",
209               "hdf5",
210               "medfile",
211               "qwt",
212               "ParaView",
213               "libxml2",
214               "omniORB",
215               "docutils",
216               "Sphinx",
217               "Jinja2",
218               "setuptools",
219               "Pygments",
220               "cgns",
221               "six",
222               "pytz"
223              ]
224     nb_proc : 8
225 }
226
227 version_V6_6_0 :
228 {
229     build_source : "autotools"
230     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON"
231     environ :
232     {
233     }
234     depend : ["KERNEL",
235               "GUI",
236               "GEOM",
237               "MED",
238               "Python",
239               "qt",
240               "PyQt",
241               "boost",
242               "CAS",
243               "hdf5",
244               "medfile",
245               "qwt",
246               "ParaView",
247               "libxml2",
248               "omniORB",
249               "docutils",
250               "Sphinx",
251               "Jinja2",
252               "setuptools",
253               "Pygments"
254              ]
255     check_install : []
256     patches : []
257 }