Salome HOME
spns #32377: boost environment issue - windows only
[tools/sat_salome.git] / products / compil_scripts / qt-5.6.1_test.sh
1 #!/bin/bash
2
3 echo "##########################################################################"
4 echo "Qt" $VERSION
5 echo "##########################################################################"
6
7
8
9 echo
10 echo "*** configure"
11 CXXFLAGS="-fpermissive" $SOURCE_DIR/configure -prefix $PRODUCT_INSTALL -release -opensource -no-rpath \
12     -verbose -no-separate-debug-info -confirm-license -qt-libpng -qt-xcb 
13 #-no-egl -no-eglfs -no-use-gold-linker
14 if [ $? -ne 0 ]
15 then
16     echo "ERROR on configure"
17     exit 1
18 fi
19
20 echo
21 echo "*** make" $MAKE_OPTIONS
22 make $MAKE_OPTIONS
23 if [ $? -ne 0 ]
24 then
25     echo "ERROR on make"
26     exit 2
27 fi
28
29 echo
30 echo "*** make install"
31 make install
32 if [ $? -ne 0 ]
33 then
34     echo "ERROR on make install"
35     exit 3
36 fi
37
38 if [[ $BITS == "64" ]]
39 then
40     echo "*** create link for lib64"
41     cd $PRODUCT_INSTALL
42     ln -s lib lib64
43 fi
44
45 echo
46 echo "########## END"
47