Salome HOME
update for SolverLab
[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 -DSIP_INCLUDE_DIR=${SIP_ROOT_DIR}"
6     get_source : "git"
7     git_info:
8     {
9         repo : $PROJECTS.projects.salome.git_info.default_git_server + "modules/gui.git"
10         repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "gui.git"
11     }
12     environ :
13     {
14         SalomeAppConfig_ : $install_dir + $VARS.sep + "share" + $VARS.sep + "salome" + $VARS.sep + "resources" + $VARS.sep + "gui"
15     }
16     depend : ["KERNEL",
17               "Python",
18               "qt",
19               "sip",
20               "PyQt",
21               "boost",
22               "CAS",
23               "qwt",
24               "hdf5",
25               "freetype",
26               "freeimage",
27               "ParaView",
28               "omniORB",
29               "docutils",
30               "libxml2",
31               "sphinxintl",
32               "sphinxcontrib_napoleon"
33            ]
34     opt_depend : ["sphinx_rtd_theme"]
35     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
36     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
37     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
38     properties:
39     {
40         incremental : "yes"
41         is_SALOME_module : "yes"
42         has_unit_tests
43     }
44     patches : []
45 }
46
47 default_win :
48 {
49     cmake_options : " -DSWIG_EXECUTABLE=%SWIG_ROOT_DIR:\=/%/bin/swig.exe -DSALOME_BUILD_WITH_QT5:BOOL=ON "
50     depend : ["KERNEL",
51               "Python",
52               "qt",
53               "sip",
54               "PyQt",
55               "boost",
56               "CAS",
57               "qwt",
58               "hdf5",
59               "freetype",
60               "freeimage",
61               "ParaView",
62               "omniORB",
63               "docutils",
64               "libxml2",
65               "sphinxintl",
66               "sphinxcontrib_websupport",
67               "sphinxcontrib_applehelp",
68               "sphinxcontrib_serializinghtml",
69               "sphinxcontrib_napoleon"
70              ]
71     opt_depend : ["sphinx_rtd_theme"]
72     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
73
74 }
75
76 version_V9_5_0:
77 {
78   patches: ['gui-SVTK-VTKView.patch'] # backporting bos #19139
79 }
80
81 version_8_5_0_to_9_4_0 :
82 {
83     depend : ["KERNEL",
84               "Python",
85               "qt",
86               "sip",
87               "PyQt",
88               "boost",
89               "CAS",
90               "qwt",
91               "hdf5",
92               "freetype",
93               "freeimage",
94               "gl2ps",
95               "ParaView",
96               "omniORB",
97               "docutils",
98               "libxml2",
99               "sphinxintl",
100               "sphinxcontrib_napoleon"
101            ]
102     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
103 }
104
105 version_9_4_0_win:
106 {
107     depend : ["KERNEL",
108               "Python",
109               "qt",
110               "sip",
111               "PyQt",
112               "boost",
113               "CAS",
114               "qwt",
115               "hdf5",
116               "freetype",
117               "freeimage",
118               "gl2ps",
119               "ParaView",
120               "omniORB",
121               "docutils",
122               "libxml2",
123               "sphinxintl",
124               "sphinxcontrib_websupport",
125               "sphinxcontrib_applehelp",
126               "sphinxcontrib_serializinghtml",
127               "sphinxcontrib_napoleon"
128              ]
129     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
130 }
131
132 # OP 19/04/2018 Add section for SALOME 7.8.0 to 8.4.0 due to new dependencies in SALOME 8.5.0
133 version_7_8_0_to_8_4_0 :
134 {
135     name : "GUI"
136     build_source : "cmake"
137     cmake_options : "-DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig"
138     get_source : "git"
139     git_info:
140     {
141         repo : $PROJECTS.projects.salome.git_info.default_git_server + "modules/gui.git"
142         repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "gui.git"
143     }
144     environ :
145     {
146     }
147     depend : ["KERNEL",
148               "Python",
149               "qt",
150               "sip",
151               "PyQt",
152               "boost",
153               "CAS",
154               "qwt",
155               "hdf5",
156               "freetype",
157               "freeimage",
158               "gl2ps",
159               "ParaView",
160               "omniORB",
161               "docutils",
162               "libxml2"
163               ]
164     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
165     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
166     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
167     properties:
168     {
169         is_SALOME_module : "yes"
170         has_unit_tests
171     }
172 }
173
174 version_python_async :
175 {
176     name : "GUI"
177     build_source : "cmake"
178     get_source : "git"
179     git_info:
180     {
181         repo : $PROJECTS.projects.salome.git_info.default_git_server + "modules/gui.git"
182         repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "gui.git"
183     }
184     environ :
185     {
186     }
187     depend : ["KERNEL",
188               "Python",
189               "qt",
190               "sip",
191               "PyQt",
192               "boost",
193               "CAS",
194               "qwt",
195               "hdf5",
196               "freetype",
197               "freeimage",
198               "gl2ps",
199               "ParaView",
200               "omniORB",
201               "docutils",
202               "libxml2"
203               ]
204     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
205     patches : [
206                "GUI_Python_async.patch" 
207     ]
208     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
209     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
210     properties:
211     {
212         is_SALOME_module : "yes"
213         has_unit_tests
214     }
215 }
216
217 version_oscar :
218 {
219     name : "GUI"
220     build_source : "cmake"
221     cmake_options : "-DSALOME_USE_VTKVIEWER=OFF -DSALOME_USE_PVVIEWER=OFF"
222     get_source : "git"
223     git_info:
224     {
225         repo : $PROJECTS.projects.salome.git_info.default_git_server + "modules/gui.git"
226         repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "gui.git"
227     }
228     environ :
229     {
230     }
231     depend : ["KERNEL",
232               "Python",
233               "qt",
234               "sip",
235               "PyQt",
236               "boost",
237               "CAS",
238               "qwt",
239               "hdf5",
240               "freetype",
241               "freeimage",
242               "gl2ps",
243               "omniORB",
244               "docutils",
245               "libxml2"
246               ]
247     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
248     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
249     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
250     properties:
251     {
252         is_SALOME_module : "yes"
253         has_unit_tests
254     }
255 }
256
257 version_V6_6_0 :
258 {
259     name : "GUI"
260     build_source : "autotools"
261     get_source : "git"
262     git_info:
263     {
264         repo : $PROJECTS.projects.salome.git_info.default_git_server + "modules/gui.git"
265         repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "gui.git"
266     }
267     environ :
268     {
269     }
270     depend : ["KERNEL",
271               "Python",
272               "qt",
273               "sip",
274               "PyQt",
275               "boost",
276               "CAS",
277               "qwt",
278               "hdf5",
279               "freetype",
280               "freeimage",
281               "gl2ps",
282               "ParaView",
283               "omniORB",
284               "docutils",
285               "libxml2"]
286     build_depend : ["cmake", "swig", "doxygen", "cppunit"]
287     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
288     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
289     properties:
290     {
291         is_SALOME_module : "yes"
292         has_unit_tests
293     }
294 }