|
@@ -23,6 +23,8 @@ rem
|
|
rem -doxygen.exe (Doxygen client)
|
|
rem -doxygen.exe (Doxygen client)
|
|
rem Download from www.doxygen.com
|
|
rem Download from www.doxygen.com
|
|
rem
|
|
rem
|
|
|
|
+rem -svn client
|
|
|
|
+rem
|
|
rem NOTES:
|
|
rem NOTES:
|
|
rem ./bin must not have any local modifications
|
|
rem ./bin must not have any local modifications
|
|
rem
|
|
rem
|
|
@@ -47,11 +49,16 @@ SET /p REVISIONBASE= < tmpfile.txt
|
|
DEL /q tmpfile.txt
|
|
DEL /q tmpfile.txt
|
|
cd ..\packaging\windows-mkzip
|
|
cd ..\packaging\windows-mkzip
|
|
|
|
|
|
-SET VERSIONBASE=1.0.%REVISIONBASE%
|
|
|
|
|
|
+SET VERSIONBASE=1.1.%REVISIONBASE%
|
|
|
|
|
|
SET OUT_SDK=assimp--%VERSIONBASE%-sdk
|
|
SET OUT_SDK=assimp--%VERSIONBASE%-sdk
|
|
SET OUT_BIN=assimp--%VERSIONBASE%-bin
|
|
SET OUT_BIN=assimp--%VERSIONBASE%-bin
|
|
|
|
|
|
|
|
+SET BINCFG_x86=release-dll_win32
|
|
|
|
+SET BINCFG_x64=release-dll_x64
|
|
|
|
+
|
|
|
|
+SET BINCFG_x86_DEBUG=debug-dll_win32
|
|
|
|
+SET BINCFG_x64_DEBUG=debug-dll_x64
|
|
|
|
|
|
rem -----------------------------------------------------
|
|
rem -----------------------------------------------------
|
|
rem Delete previous output directories
|
|
rem Delete previous output directories
|
|
@@ -69,9 +76,6 @@ rem -----------------------------------------------------
|
|
rem Copy all executables to 'final-bin'
|
|
rem Copy all executables to 'final-bin'
|
|
rem -----------------------------------------------------
|
|
rem -----------------------------------------------------
|
|
|
|
|
|
-SET BINCFG_x86=release-dll_win32
|
|
|
|
-SET BINCFG_x64=release-dll_x64
|
|
|
|
-
|
|
|
|
copy /Y ..\..\bin\assimpview_%BINCFG_x86%\assimp_view.exe "final\%OUT_BIN%\x86\assimp_view.exe"
|
|
copy /Y ..\..\bin\assimpview_%BINCFG_x86%\assimp_view.exe "final\%OUT_BIN%\x86\assimp_view.exe"
|
|
copy /Y ..\..\bin\assimpview_%BINCFG_x64%\assimp_view.exe "final\%OUT_BIN%\x64\assimp_view.exe"
|
|
copy /Y ..\..\bin\assimpview_%BINCFG_x64%\assimp_view.exe "final\%OUT_BIN%\x64\assimp_view.exe"
|
|
|
|
|
|
@@ -96,8 +100,6 @@ rem that is nto yet ready to be published.
|
|
rem -----------------------------------------------------
|
|
rem -----------------------------------------------------
|
|
|
|
|
|
svn export .\..\..\ final\%OUT_SDK%
|
|
svn export .\..\..\ final\%OUT_SDK%
|
|
-rem RD /s /q final\%OUT_SDK%\packaging
|
|
|
|
-
|
|
|
|
|
|
|
|
rem Copy doc to a suitable place
|
|
rem Copy doc to a suitable place
|
|
move final\%OUT_SDK%\doc\AssimpDoc_Html\AssimpDoc.chm final\%OUT_SDK%\Documentation.chm
|
|
move final\%OUT_SDK%\doc\AssimpDoc_Html\AssimpDoc.chm final\%OUT_SDK%\Documentation.chm
|
|
@@ -112,6 +114,37 @@ rem Insert 'dummy' files into empty folders
|
|
echo. > final\%OUT_SDK%\lib\dummy
|
|
echo. > final\%OUT_SDK%\lib\dummy
|
|
echo. > final\%OUT_SDK%\obj\dummy
|
|
echo. > final\%OUT_SDK%\obj\dummy
|
|
|
|
|
|
|
|
+rem Remove WIP ports and language bindings
|
|
|
|
+RD /s /q final\%OUT_SDK%\port\Assimp.NET
|
|
|
|
+RD /s /q final\%OUT_SDK%\port\jAssimp
|
|
|
|
+RD /s /q final\%OUT_SDK%\port\BrainFuckAssimp
|
|
|
|
+RD /s /q final\%OUT_SDK%\port\swig
|
|
|
|
+
|
|
|
|
+rem Also, repackaging is not a must-have feature
|
|
|
|
+RD /s /q final\%OUT_SDK%\packaging
|
|
|
|
+
|
|
|
|
+rem Copy prebuilt libs
|
|
|
|
+mkdir "final\%OUT_SDK%\lib\assimp_%BINCFG_x86%"
|
|
|
|
+mkdir "final\%OUT_SDK%\lib\assimp_%BINCFG_x64%"
|
|
|
|
+mkdir "final\%OUT_SDK%\lib\assimp_%BINCFG_x86_DEBUG%"
|
|
|
|
+mkdir "final\%OUT_SDK%\lib\assimp_%BINCFG_x64_DEBUG%"
|
|
|
|
+
|
|
|
|
+copy /Y ..\..\lib\assimp_%BINCFG_x86%\assimp.lib "final\%OUT_SDK%\lib\assimp_%BINCFG_x86%"
|
|
|
|
+copy /Y ..\..\lib\assimp_%BINCFG_x64%\assimp.lib "final\%OUT_SDK%\lib\assimp_%BINCFG_x64%\"
|
|
|
|
+copy /Y ..\..\lib\assimp_%BINCFG_x86%\assimp.lib "final\%OUT_SDK%\lib\assimp_%BINCFG_x86_DEBUG%\"
|
|
|
|
+copy /Y ..\..\lib\assimp_%BINCFG_x64%\assimp.lib "final\%OUT_SDK%\lib\assimp_%BINCFG_x64_DEBUG%\"
|
|
|
|
+
|
|
|
|
+rem Copy prebuilt DLLs
|
|
|
|
+mkdir "final\%OUT_SDK%\bin\assimp_%BINCFG_x86%"
|
|
|
|
+mkdir "final\%OUT_SDK%\bin\assimp_%BINCFG_x64%"
|
|
|
|
+mkdir "final\%OUT_SDK%\bin\assimp_%BINCFG_x86_DEBUG%"
|
|
|
|
+mkdir "final\%OUT_SDK%\bin\assimp_%BINCFG_x64_DEBUG%"
|
|
|
|
+
|
|
|
|
+copy /Y ..\..\bin\assimp_%BINCFG_x86%\Assimp32.dll "final\%OUT_SDK%\bin\assimp_%BINCFG_x86%\"
|
|
|
|
+copy /Y ..\..\bin\assimp_%BINCFG_x64%\Assimp64.dll "final\%OUT_SDK%\bin\assimp_%BINCFG_x64%\"
|
|
|
|
+copy /Y ..\..\bin\assimp_%BINCFG_x86_DEBUG%\Assimp32d.dll "final\%OUT_SDK%\bin\assimp_%BINCFG_x86_DEBUG%\"
|
|
|
|
+copy /Y ..\..\bin\assimp_%BINCFG_x64_DEBUG%\Assimp64d.dll "final\%OUT_SDK%\bin\assimp_%BINCFG_x64_DEBUG%\"
|
|
|
|
+
|
|
rem -----------------------------------------------------
|
|
rem -----------------------------------------------------
|
|
rem Make final-bin.zip and final-sdk.zip
|
|
rem Make final-bin.zip and final-sdk.zip
|
|
rem -----------------------------------------------------
|
|
rem -----------------------------------------------------
|