X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=products%2Fcompil_scripts%2Fsip-5.5.0.bat;h=1ac425eefd2c5a3085b5664bd400a6fc9eb821fe;hb=d3cee19258dbb9b46ac5bfedcd2d20c456faa5b1;hp=3048aca130499624ab907934eaffa71623c4cabd;hpb=48d1d1e7d9e90527b0cdd362989a0c3fb895a22b;p=tools%2Fsat_salome.git diff --git a/products/compil_scripts/sip-5.5.0.bat b/products/compil_scripts/sip-5.5.0.bat index 3048aca..1ac425e 100644 --- a/products/compil_scripts/sip-5.5.0.bat +++ b/products/compil_scripts/sip-5.5.0.bat @@ -8,6 +8,10 @@ IF NOT DEFINED SAT_DEBUG ( SET SAT_DEBUG=0 ) +set BUILD_OPT= +if %SAT_DEBUG% == 1 ( + set BUILD_OPT=--debug +) if NOT exist "%PRODUCT_INSTALL%" mkdir %PRODUCT_INSTALL% REM clean BUILD directory @@ -22,15 +26,15 @@ set PYTHONPATH=%PYTHONPATH%;%PRODUCT_INSTALL%\Lib\site-packages echo. echo *** -%PYTHONBIN% setup.py build install --prefix=%PRODUCT_INSTALL% +%PYTHONBIN% setup.py build %BUILD_OPT% install --prefix=%PRODUCT_INSTALL% if NOT %ERRORLEVEL% == 0 ( - echo ERROR on SIP running %PYTHONBIN% setup.py build install --prefix=%PRODUCT_INSTALL% + echo ERROR on SIP running %PYTHONBIN% setup.py build %BUILD_OPT% install --prefix=%PRODUCT_INSTALL% exit 1 ) cd %BUILD_DIR%\PyQt5_sip-12.8.1 -%PYTHONBIN% setup.py build install --prefix=%PRODUCT_INSTALL% +%PYTHONBIN% setup.py build %BUILD_OPT% install --prefix=%PRODUCT_INSTALL% if NOT %ERRORLEVEL% == 0 ( - echo ERROR on PYQT_SIP running %PYTHONBIN% setup.py build install --prefix=%PRODUCT_INSTALL% + echo ERROR on PYQT_SIP running %PYTHONBIN% setup.py build %BUILD_OPT% install --prefix=%PRODUCT_INSTALL% exit 2 )