Salome HOME
Use global PYTHONBIN variable for SOLVERLAB compilation (compliant with native use)
[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               "sphinxcontrib_napoleon",
43               "tbb"
44              ]
45     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
46     opt_depend : []
47     patches : []
48     check_install : ["share/doc/salome/gui/SMESH/yams/index.html"]
49     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
50     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
51     properties:
52     {
53         incremental : "yes"
54         has_salome_gui : "yes"
55         is_SALOME_module : "yes"
56         has_unit_tests
57     }
58 }
59
60 default_win :
61 {
62     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"
63     patches : []
64     depend : ["KERNEL",
65               "GUI",
66               "GEOM",
67               "MEDCOUPLING",
68               "Python",
69               "qt",
70               "PyQt",
71               "boost",
72               "CAS",
73               "hdf5",
74               "medfile",
75               "qwt",
76               "ParaView",
77               "libxml2",
78               "omniORB",
79               "docutils",
80               "Sphinx",
81               "Jinja2",
82               "setuptools",
83               "Pygments",
84               "cgns",
85               "six",
86               "pytz",
87               "Sphinx",
88               "sphinxintl",
89               "sphinxcontrib_napoleon",
90               "tbb"
91             ]
92     build_depend : ["cmake", "swig", "doxygen", "cppunit", "f2c"]
93 }
94
95 default_MPI :
96 {
97     depend : ["KERNEL",
98               "GUI",
99               "GEOM",
100               "MEDCOUPLING",
101               "Python",
102               "qt",
103               "PyQt",
104               "boost",
105               "CAS",
106               "hdf5",
107               "medfile",
108               "qwt",
109               "ParaView",
110               "libxml2",
111               "omniORB",
112               "docutils",
113               "Sphinx",
114               "Jinja2",
115               "setuptools",
116               "Pygments",
117               "cgns",
118               "six",
119               "pytz",
120               "sphinxintl",
121               "sphinxcontrib_napoleon",
122               "tbb",
123               "openmpi"
124              ]
125 }
126
127 # Starting from SALOME 9.4.0, we use tbb as product and build SMESH using it to accelerate its performances
128 version_8_5_0_to_9_3_0 :
129 {
130     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"
131     depend : ["KERNEL",
132               "GUI",
133               "GEOM",
134               "MEDCOUPLING",
135               "Python",
136               "qt",
137               "PyQt",
138               "boost",
139               "CAS",
140               "hdf5",
141               "medfile",
142               "qwt",
143               "ParaView",
144               "libxml2",
145               "omniORB",
146               "docutils",
147               "Sphinx",
148               "Jinja2",
149               "setuptools",
150               "Pygments",
151               "cgns",
152               "six",
153               "pytz",
154               "sphinxintl",
155               "sphinxcontrib_napoleon"
156              ]
157 }
158
159 # OP 19/04/2018 Add section for SALOME 7.8.0 to 8.4.0 due to new dependencies in SALOME 8.5.0
160 version_7_8_0_to_8_4_0 :
161 {
162     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON"
163     environ :
164     {
165     }
166     depend : ["KERNEL",
167               "GUI",
168               "GEOM",
169               "MEDCOUPLING",
170               "Python",
171               "qt",
172               "PyQt",
173               "boost",
174               "CAS",
175               "hdf5",
176               "medfile",
177               "qwt",
178               "ParaView",
179               "libxml2",
180               "omniORB",
181               "docutils",
182               "Sphinx",
183               "Jinja2",
184               "setuptools",
185               "Pygments",
186               "cgns",
187               "six",
188               "pytz"
189              ]
190     nb_proc : 8
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 }