Salome HOME
spns #41657: OSCAR UB22.04
[tools/sat_salome.git] / products / GUI.pyconf
1 default :
2 {
3     name : "GUI"
4     build_source : "cmake"
5     cmake_options : "-DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig"
6     get_source : "git"
7     git_info:
8     {
9       repositories :
10       {
11         tuleap : $PROJECTS.projects.salome.git_info.git_server.tuleap.url + "salome/gui.git"
12         github : $PROJECTS.projects.salome.git_info.git_server.github.url + "gui.git"
13         gitpub : $PROJECTS.projects.salome.git_info.git_server.gitpub.url + "modules/gui.git"
14       }
15     }
16     environ :
17     {
18         SalomeAppConfig_ : $install_dir + $VARS.sep + "share" + $VARS.sep + "salome" + $VARS.sep + "resources" + $VARS.sep + "gui"
19     }
20     depend : ["KERNEL",
21               "Python",
22               "qt",
23               "sip",
24               "PyQt",
25               "boost",
26               "CAS",
27               "qwt",
28               "hdf5",
29               "freetype",
30               "freeimage",
31               "ParaView",
32               "omniORB",
33               "docutils",
34               "libxml2",
35               "sphinxintl"
36            ]
37     opt_depend : ["sphinx_rtd_theme", "openmpi", "graphviz", "SALOMEBOOTSTRAP"]
38     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
39     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
40     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
41     properties:
42     {
43         incremental : "yes"
44         is_SALOME_module : "yes"
45         has_unit_tests
46     }
47     patches : []
48 }
49
50 default_win :
51 {
52     cmake_options : " -DSWIG_EXECUTABLE=%SWIG_ROOT_DIR:\=/%/bin/swig.exe -DSALOME_BUILD_WITH_QT5:BOOL=ON "
53     depend : ["KERNEL",
54               "Python",
55               "qt",
56               "sip",
57               "PyQt",
58               "boost",
59               "CAS",
60               "qwt",
61               "hdf5",
62               "freetype",
63               "freeimage",
64               "ParaView",
65               "omniORB",
66               "docutils",
67               "libxml2",
68               "sphinxintl",
69               "sphinxcontrib_websupport",
70               "sphinxcontrib_applehelp",
71               "sphinxcontrib_serializinghtml",
72               "graphviz"
73              ]
74     opt_depend : ["sphinx_rtd_theme", "SALOMEBOOTSTRAP"]
75     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
76
77 }
78
79 version_V9_10_0:
80 {
81   patches: []
82 }
83
84 version_V9_10_0_win:
85 {
86   patches: ["GUI-9.10.0-cmath-visual-2019.patch"]
87 }
88
89 version_V9_5_0:
90 {
91     cmake_options : "-DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig"
92     patches: ['gui-SVTK-VTKView.patch'] # backporting bos #19139
93 }
94
95 version_8_5_0_to_9_4_0 :
96 {
97     cmake_options : "-DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig"
98     depend : ["KERNEL",
99               "Python",
100               "qt",
101               "sip",
102               "PyQt",
103               "boost",
104               "CAS",
105               "qwt",
106               "hdf5",
107               "freetype",
108               "freeimage",
109               "gl2ps",
110               "ParaView",
111               "omniORB",
112               "docutils",
113               "libxml2",
114               "sphinxintl",
115               "sphinxcontrib_napoleon"
116            ]
117     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
118 }
119
120 version_9_4_0_win:
121 {
122     depend : ["KERNEL",
123               "Python",
124               "qt",
125               "sip",
126               "PyQt",
127               "boost",
128               "CAS",
129               "qwt",
130               "hdf5",
131               "freetype",
132               "freeimage",
133               "gl2ps",
134               "ParaView",
135               "omniORB",
136               "docutils",
137               "libxml2",
138               "sphinxintl",
139               "sphinxcontrib_websupport",
140               "sphinxcontrib_applehelp",
141               "sphinxcontrib_serializinghtml",
142               "sphinxcontrib_napoleon"
143              ]
144     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
145 }
146
147 version_V9_3_0_win :
148 {
149     depend : ["KERNEL",
150               "Python",
151               "qt",
152               "sip",
153               "PyQt",
154               "boost",
155               "CAS",
156               "qwt",
157               "hdf5",
158               "freetype",
159               "freeimage",
160               "gl2ps",
161               "ParaView",
162               "omniORB",
163               "docutils",
164               "libxml2",
165               "sphinxintl",
166               "sphinxcontrib_websupport",
167               "sphinxcontrib_applehelp",
168               "sphinxcontrib_serializinghtml",
169               "sphinxcontrib_napoleon"
170              ]
171     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
172     patches : ['GUI-V9_3_0-LightApplication_windows.patch']
173 }
174
175 version_9_2_0_PPGP:
176 {
177   patches: ['GUI-V9_2_0-visualCode.patch']
178 }
179
180 # OP 19/04/2018 Add section for SALOME 7.8.0 to 8.4.0 due to new dependencies in SALOME 8.5.0
181 version_7_8_0_to_8_4_0 :
182 {
183     name : "GUI"
184     build_source : "cmake"
185     cmake_options : "-DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig "
186     get_source : "git"
187     git_info:
188     {
189       repositories :
190       {
191         tuleap : $PROJECTS.projects.salome.git_info.git_server.tuleap.url + "salome/gui.git"
192         github : $PROJECTS.projects.salome.git_info.git_server.github.url + "gui.git"
193         gitpub : $PROJECTS.projects.salome.git_info.git_server.gitpub.url + "modules/gui.git"
194       }
195     }
196     environ :
197     {
198     }
199     depend : ["KERNEL",
200               "Python",
201               "qt",
202               "sip",
203               "PyQt",
204               "boost",
205               "CAS",
206               "qwt",
207               "hdf5",
208               "freetype",
209               "freeimage",
210               "gl2ps",
211               "ParaView",
212               "omniORB",
213               "docutils",
214               "libxml2"
215               ]
216     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
217     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
218     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
219     properties:
220     {
221         is_SALOME_module : "yes"
222         has_unit_tests
223     }
224 }
225
226 version_python_async :
227 {
228     name : "GUI"
229     build_source : "cmake"
230     get_source : "git"
231     git_info:
232     {
233       repositories :
234       {
235         tuleap : $PROJECTS.projects.salome.git_info.git_server.tuleap.url + "salome/gui.git"
236         github : $PROJECTS.projects.salome.git_info.git_server.github.url + "gui.git"
237         gitpub : $PROJECTS.projects.salome.git_info.git_server.gitpub.url + "modules/gui.git"
238       }
239     }
240     environ :
241     {
242     }
243     depend : ["KERNEL",
244               "Python",
245               "qt",
246               "sip",
247               "PyQt",
248               "boost",
249               "CAS",
250               "qwt",
251               "hdf5",
252               "freetype",
253               "freeimage",
254               "gl2ps",
255               "ParaView",
256               "omniORB",
257               "docutils",
258               "libxml2"
259               ]
260     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
261     patches : [
262                "GUI_Python_async.patch" 
263     ]
264     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
265     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
266     properties:
267     {
268         is_SALOME_module : "yes"
269         has_unit_tests
270     }
271 }
272
273 version_OSCAR_GUI_V9_12_0 :
274 {
275     name : "GUI"
276     build_source : "cmake"
277     cmake_options : "-DSALOME_ON_DEMAND=OFF -DSALOME_USE_VTKVIEWER=OFF -DSALOME_USE_PVVIEWER=OFF -DSALOME_USE_PV3DVIEWER=OFF"
278     get_source : "git"
279     git_info:
280     {
281       repositories :
282       {
283         tuleap : $PROJECTS.projects.salome.git_info.git_server.tuleap.url + "salome/gui.git"
284         github : $PROJECTS.projects.salome.git_info.git_server.github.url + "gui.git"
285         gitpub : $PROJECTS.projects.salome.git_info.git_server.gitpub.url + "modules/gui.git"
286       }
287     }
288     patches : ['OSCAR-GUI-V9_12_0.patch']
289     environ :
290     {
291         SalomeAppConfig_ : $install_dir + $VARS.sep + "share" + $VARS.sep + "salome" + $VARS.sep + "resources" + $VARS.sep + "gui"
292     }
293     depend : ["KERNEL",
294               "Python",
295               "qt",
296               "sip",
297               "PyQt",
298               "boost",
299               "CAS",
300               "qwt",
301               "hdf5",
302               "freetype",
303               "freeimage",
304               "gl2ps",
305               "omniORB",
306               "docutils",
307               "libxml2"
308               ]
309     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
310     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
311     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
312     properties:
313     {
314         is_SALOME_module : "yes"
315         has_unit_tests
316     }
317 }
318
319 version_oscar :
320 {
321     name : "GUI"
322     build_source : "cmake"
323     cmake_options : "-DSALOME_ON_DEMAND=OFF -DSALOME_USE_VTKVIEWER=OFF -DSALOME_USE_PVVIEWER=OFF -DSALOME_USE_PV3DVIEWER=OFF"
324     get_source : "git"
325     git_info:
326     {
327       repositories :
328       {
329         tuleap : $PROJECTS.projects.salome.git_info.git_server.tuleap.url + "salome/gui.git"
330         github : $PROJECTS.projects.salome.git_info.git_server.github.url + "gui.git"
331         gitpub : $PROJECTS.projects.salome.git_info.git_server.gitpub.url + "modules/gui.git"
332       }
333     }
334     environ :
335     {
336         SalomeAppConfig_ : $install_dir + $VARS.sep + "share" + $VARS.sep + "salome" + $VARS.sep + "resources" + $VARS.sep + "gui"
337     }
338     depend : ["KERNEL",
339               "Python",
340               "qt",
341               "sip",
342               "PyQt",
343               "boost",
344               "CAS",
345               "qwt",
346               "hdf5",
347               "freetype",
348               "freeimage",
349               "gl2ps",
350               "omniORB",
351               "docutils",
352               "libxml2"
353               ]
354     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
355     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
356     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
357     properties:
358     {
359         is_SALOME_module : "yes"
360         has_unit_tests
361     }
362 }
363
364 version_V6_6_0 :
365 {
366     name : "GUI"
367     build_source : "autotools"
368     get_source : "git"
369     git_info:
370     {
371       repositories :
372       {
373         tuleap : $PROJECTS.projects.salome.git_info.git_server.tuleap.url + "salome/gui.git"
374         github : $PROJECTS.projects.salome.git_info.git_server.github.url + "gui.git"
375         gitpub : $PROJECTS.projects.salome.git_info.git_server.gitpub.url + "modules/gui.git"
376       }
377     }
378     environ :
379     {
380     }
381     depend : ["KERNEL",
382               "Python",
383               "qt",
384               "sip",
385               "PyQt",
386               "boost",
387               "CAS",
388               "qwt",
389               "hdf5",
390               "freetype",
391               "freeimage",
392               "gl2ps",
393               "ParaView",
394               "omniORB",
395               "docutils",
396               "libxml2"]
397     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
398     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
399     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
400     properties:
401     {
402         is_SALOME_module : "yes"
403         has_unit_tests
404     }
405 }