Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 345af08f authored by ADILI Robin's avatar ADILI Robin
Browse files

added sipmodule to build.bat + fixed version parsing

parent c42e4f12
Branches
Tags
No related merge requests found
...@@ -38,7 +38,7 @@ for /F "tokens=1,2 delims=;" %%i in (reqs_win.txt) do ( ...@@ -38,7 +38,7 @@ for /F "tokens=1,2 delims=;" %%i in (reqs_win.txt) do (
tar xvf sip-4.19.3.tar.gz -C "%BUILDDIR%" tar xvf sip-4.19.3.tar.gz -C "%BUILDDIR%"
cd "%BUILDDIR%"\sip-* cd "%BUILDDIR%"\sip-*
python "configure.py" -b "%SIPINSTALLDIR%" -d "%SIPINSTALLDIR%" -e "%SIPINSTALLDIR%" --pyidir="%SIPINSTALLDIR%" python "configure.py" -b "%SIPINSTALLDIR%" -d "%SIPINSTALLDIR%" -e "%SIPINSTALLDIR%" --pyidir="%SIPINSTALLDIR%" --sip-module="fbxsip"
nmake nmake
nmake install nmake install
cd %CURRENTDIR% cd %CURRENTDIR%
...@@ -55,4 +55,4 @@ copy "%SIPINSTALLDIR%\sip.pyd" "%FBXDIR%" ...@@ -55,4 +55,4 @@ copy "%SIPINSTALLDIR%\sip.pyd" "%FBXDIR%"
nt.Windows81SDK --remove Microsoft.VisualStudio.Workload.VCTools --remove Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --remove Microsoft.VisualStudio.Comp nt.Windows81SDK --remove Microsoft.VisualStudio.Workload.VCTools --remove Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --remove Microsoft.VisualStudio.Comp
onent.Windows10SDK || IF "%ERRORLEVEL%"=="3010" EXIT 0 onent.Windows10SDK || IF "%ERRORLEVEL%"=="3010" EXIT 0
popd popd
pause pause
\ No newline at end of file
...@@ -33,7 +33,7 @@ patch -p0 < patch ...@@ -33,7 +33,7 @@ patch -p0 < patch
cp "$scdir/PythonBindings.py" "$fbxpydir" cp "$scdir/PythonBindings.py" "$fbxpydir"
FBXSDK_ROOT="$fbxsdkdir" SIP_ROOT="$sipdir" python3 "$fbxpydir"/PythonBindings.py Python3_x64 FBXSDK_ROOT="$fbxsdkdir" SIP_ROOT="$sipdir" python3 "$fbxpydir"/PythonBindings.py Python3_x64
pyvers=$(python3 --version | cut -d' ' -f2) pyvers=$(python3 --version 2>&1 | cut -d' ' -f2)
pyvers=${pyvers%.*} pyvers=${pyvers%.*}
pyvers=${pyvers//./} pyvers=${pyvers//./}
fbxdir="$scdir"/fbxsdkpy-cp${pyvers}-gnu_linux_x64 fbxdir="$scdir"/fbxsdkpy-cp${pyvers}-gnu_linux_x64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment