Salome HOME
spns #18704: Netgen 6
[tools/sat_salome.git] / products / netgen.pyconf
1 default :
2 {
3     name : "netgen"
4     build_source : "script"
5     compil_script :  $name + $VARS.scriptExtension
6     get_source : "archive"
7     environ :
8     {
9        env_script : $name + ".py"
10     }
11     depend : ['CAS', 'tcl', 'tk']
12     patches : [ ]
13     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
14     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
15     install_dir : 'base'
16     properties :
17     {
18       incremental : "yes"
19     }
20 }
21
22 default_win:
23 {
24    depend : ['CAS','zlib','tcltk']
25 }
26
27 version_6_2_2101 :
28 {
29    build_source : "cmake"
30    cmake_options : "cmake -DUSE_GUI=OFF -DUSE_PYTHON=OFF -DUSE_MPI=OFF -DUSE_OCC=ON -DUSE_INTERNAL_TCL=OFF -DBUILD_STUB_FILES=OFF -DOCC_INCLUDE_DIR=$CAS_ROOT_DIR/include/opencascade -DOCC_LIBRARY_DIR=$CAS_ROOT_DIR/lib -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_CXX_STANDARD=17 "
31    patches : ['netgen62ForSalome.patch']
32 }
33
34 version_5_3_1_with_CAS_7_2 :
35 {
36     archive_info : {archive_name : "netgen-5.3.1.tar.gz"}
37     compil_script :  'netgen_5_3_1' + $VARS.scriptExtension
38     patches : ["netgen-5.3.1-for-SALOME-OCCT-7.2.0.patch"]
39 }
40
41 version_5_3_1_with_CAS_7_2_win :
42 {
43    compil_script :  'netgen.bat'
44    patches :  ['netgen53ForSalomeOCCT730.patch','netgen53ForWindows.patch','netgen53ForSalomeVisualStudio2017.patch']
45    properties :
46    {
47      incremental : "yes"
48      single_install_dir : "yes"
49    }
50 }
51
52 version_5_3_1 :
53 {
54     compil_script :  "netgen_5_3_1.sh"
55     archive_info: {archive_name : "netgen-5.3.1.tar.gz"}
56     patches : [ "netgen53ForSalome.patch"]
57 }
58
59 version_4_9_13 :
60 {
61     archive_info:
62     {
63         archive_name : "netgen-4.9.13.tar.gz"
64     }
65     depend : ['CAS', 'tcl', 'tk', "freetype"]
66     patches : [
67                   "netgen49ForSalome.patch"
68                   "netgen-4.9.13_without_togl.patch"
69               ]
70 }
71
72 version_4_9_13_with_CAS7 :
73 {
74     compil_script :  "netgen_CAS7.sh"
75     archive_info:
76     {
77         archive_name : "netgen-4.9.13.tar.gz"
78     }
79     depend : ['CAS', 'tcl', 'tk', "freetype"]
80     patches : [
81                 "netgen-4.9.13_without_togl.patch",
82                 "netgen-4.9.13-for-SALOME_v2.patch",
83                 "netgen-4.9.13-for-SALOME-OCCT7.0.0-Porting.patch",
84                 "netgen-4.9.13-for-OCCT7.0.0-includes.patch"
85               ]
86 }