Salome HOME
add salome_system to the list of dependencies for native builds...
[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']
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 # Starting from SALOME 9.4.0, we use tbb as product and build SMESH using it to accelerate its performances
124 version_8_5_0_to_9_3_0 :
125 {
126     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"
127     depend : ["KERNEL",
128               "GUI",
129               "GEOM",
130               "MEDCOUPLING",
131               "Python",
132               "qt",
133               "PyQt",
134               "boost",
135               "CAS",
136               "hdf5",
137               "medfile",
138               "qwt",
139               "ParaView",
140               "libxml2",
141               "omniORB",
142               "docutils",
143               "Sphinx",
144               "Jinja2",
145               "setuptools",
146               "Pygments",
147               "cgns",
148               "six",
149               "pytz",
150               "sphinxintl",
151               "sphinxcontrib_napoleon"
152              ]
153     patches : []
154 }
155
156 # OP 19/04/2018 Add section for SALOME 7.8.0 to 8.4.0 due to new dependencies in SALOME 8.5.0
157 version_7_8_0_to_8_4_0 :
158 {
159     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON"
160     environ :
161     {
162     }
163     depend : ["KERNEL",
164               "GUI",
165               "GEOM",
166               "MEDCOUPLING",
167               "Python",
168               "qt",
169               "PyQt",
170               "boost",
171               "CAS",
172               "hdf5",
173               "medfile",
174               "qwt",
175               "ParaView",
176               "libxml2",
177               "omniORB",
178               "docutils",
179               "Sphinx",
180               "Jinja2",
181               "setuptools",
182               "Pygments",
183               "cgns",
184               "six",
185               "pytz"
186              ]
187     nb_proc : 8
188     patches : []
189 }
190
191 version_V6_6_0 :
192 {
193     build_source : "autotools"
194     cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON"
195     environ :
196     {
197     }
198     depend : ["KERNEL",
199               "GUI",
200               "GEOM",
201               "MED",
202               "Python",
203               "qt",
204               "PyQt",
205               "boost",
206               "CAS",
207               "hdf5",
208               "medfile",
209               "qwt",
210               "ParaView",
211               "libxml2",
212               "omniORB",
213               "docutils",
214               "Sphinx",
215               "Jinja2",
216               "setuptools",
217               "Pygments"
218              ]
219     check_install : []
220     patches : []
221 }