Salome HOME
MPI ParaView
[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     patches : []
46     check_install : ["share/doc/salome/gui/SMESH/yams/index.html"]
47     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
48     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
49     properties:
50     {
51         incremental : "yes"
52         has_salome_gui : "yes"
53         is_SALOME_module : "yes"
54         has_unit_tests
55     }
56 }
57
58 default_win :
59 {
60     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"
61     depend : ["KERNEL",
62               "GUI",
63               "GEOM",
64               "MEDCOUPLING",
65               "Python",
66               "qt",
67               "PyQt",
68               "boost",
69               "CAS",
70               "hdf5",
71               "medfile",
72               "qwt",
73               "ParaView",
74               "libxml2",
75               "omniORB",
76               "docutils",
77               "Sphinx",
78               "Jinja2",
79               "setuptools",
80               "Pygments",
81               "cgns",
82               "six",
83               "pytz",
84               "Sphinx",
85               "sphinxintl",
86               "tbb"
87             ]
88     build_depend : ["cmake", "swig", "doxygen", "cppunit", "f2c"]
89 }
90
91 default_MPI :
92 {
93     depend : ["KERNEL",
94               "GUI",
95               "GEOM",
96               "MEDCOUPLING",
97               "Python",
98               "qt",
99               "PyQt",
100               "boost",
101               "CAS",
102               "hdf5",
103               "medfile",
104               "qwt",
105               "ParaView",
106               "libxml2",
107               "omniORB",
108               "docutils",
109               "Sphinx",
110               "Jinja2",
111               "setuptools",
112               "Pygments",
113               "cgns",
114               "six",
115               "pytz",
116               "sphinxintl",
117               "tbb",
118               "openmpi"
119              ]
120 }
121
122 # Starting from SALOME 9.4.0, we use tbb as product and build SMESH using it to accelerate its performances
123 version_8_5_0_to_9_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 # OP 19/04/2018 Add section for SALOME 7.8.0 to 8.4.0 due to new dependencies in SALOME 8.5.0
156 version_7_8_0_to_8_4_0 :
157 {
158     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON"
159     environ :
160     {
161     }
162     depend : ["KERNEL",
163               "GUI",
164               "GEOM",
165               "MEDCOUPLING",
166               "Python",
167               "qt",
168               "PyQt",
169               "boost",
170               "CAS",
171               "hdf5",
172               "medfile",
173               "qwt",
174               "ParaView",
175               "libxml2",
176               "omniORB",
177               "docutils",
178               "Sphinx",
179               "Jinja2",
180               "setuptools",
181               "Pygments",
182               "cgns",
183               "six",
184               "pytz"
185              ]
186     nb_proc : 8
187     patches : []
188 }
189
190 version_V6_6_0 :
191 {
192     build_source : "autotools"
193     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON"
194     environ :
195     {
196     }
197     depend : ["KERNEL",
198               "GUI",
199               "GEOM",
200               "MED",
201               "Python",
202               "qt",
203               "PyQt",
204               "boost",
205               "CAS",
206               "hdf5",
207               "medfile",
208               "qwt",
209               "ParaView",
210               "libxml2",
211               "omniORB",
212               "docutils",
213               "Sphinx",
214               "Jinja2",
215               "setuptools",
216               "Pygments"
217              ]
218     check_install : []
219     patches : []
220 }