Salome HOME
SMESH depends upon SHAPERSTUDY - otherwise SHAPERSTUDY_ROOT_DIR is not exposed
[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               "SHAPERSTUDY",
22               "MEDCOUPLING",
23               "Python",
24               "qt",
25               "PyQt",
26               "boost",
27               "CAS",
28               "hdf5",
29               "medfile",
30               "qwt",
31               "ParaView",
32               "libxml2",
33               "omniORB",
34               "docutils",
35               "Sphinx",
36               "Jinja2",
37               "setuptools",
38               "Pygments",
39               "cgns",
40               "six",
41               "pytz",
42               "sphinxintl",
43               "tbb"
44              ]
45     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
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               "SHAPERSTUDY",
66               "MEDCOUPLING",
67               "Python",
68               "qt",
69               "PyQt",
70               "boost",
71               "CAS",
72               "hdf5",
73               "medfile",
74               "qwt",
75               "ParaView",
76               "libxml2",
77               "omniORB",
78               "docutils",
79               "Sphinx",
80               "Jinja2",
81               "setuptools",
82               "Pygments",
83               "cgns",
84               "six",
85               "pytz",
86               "Sphinx",
87               "sphinxintl",
88               "tbb"
89             ]
90     build_depend : ["cmake", "swig", "doxygen", "cppunit", "f2c"]
91 }
92
93 default_MPI :
94 {
95     depend : ["KERNEL",
96               "GUI",
97               "GEOM",
98               "SHAPERSTUDY",
99               "MEDCOUPLING",
100               "Python",
101               "qt",
102               "PyQt",
103               "boost",
104               "CAS",
105               "hdf5",
106               "medfile",
107               "qwt",
108               "ParaView",
109               "libxml2",
110               "omniORB",
111               "docutils",
112               "Sphinx",
113               "Jinja2",
114               "setuptools",
115               "Pygments",
116               "cgns",
117               "six",
118               "pytz",
119               "sphinxintl",
120               "tbb",
121               "openmpi"
122              ]
123 }
124
125 # Starting from SALOME 9.4.0, we use tbb as product and build SMESH using it to accelerate its performances
126 version_8_5_0_to_9_3_0 :
127 {
128     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"
129     depend : ["KERNEL",
130               "GUI",
131               "GEOM",
132               "MEDCOUPLING",
133               "Python",
134               "qt",
135               "PyQt",
136               "boost",
137               "CAS",
138               "hdf5",
139               "medfile",
140               "qwt",
141               "ParaView",
142               "libxml2",
143               "omniORB",
144               "docutils",
145               "Sphinx",
146               "Jinja2",
147               "setuptools",
148               "Pygments",
149               "cgns",
150               "six",
151               "pytz",
152               "sphinxintl",
153               "sphinxcontrib_napoleon"
154              ]
155     patches : []
156 }
157
158 # OP 19/04/2018 Add section for SALOME 7.8.0 to 8.4.0 due to new dependencies in SALOME 8.5.0
159 version_7_8_0_to_8_4_0 :
160 {
161     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON"
162     environ :
163     {
164     }
165     depend : ["KERNEL",
166               "GUI",
167               "GEOM",
168               "MEDCOUPLING",
169               "Python",
170               "qt",
171               "PyQt",
172               "boost",
173               "CAS",
174               "hdf5",
175               "medfile",
176               "qwt",
177               "ParaView",
178               "libxml2",
179               "omniORB",
180               "docutils",
181               "Sphinx",
182               "Jinja2",
183               "setuptools",
184               "Pygments",
185               "cgns",
186               "six",
187               "pytz"
188              ]
189     nb_proc : 8
190     patches : []
191 }
192
193 version_V6_6_0 :
194 {
195     build_source : "autotools"
196     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON"
197     environ :
198     {
199     }
200     depend : ["KERNEL",
201               "GUI",
202               "GEOM",
203               "MED",
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              ]
221     check_install : []
222     patches : []
223 }