- Move mkutil to packaging/windows-mkzip. Any further scripts to build dedicated download packages from a SVN working copy should go into packaging/<x> from now.
- Migrate mkutil/revision.h to the root folder, adjust all dependent paths. - Get rid of unneeded win batch scripts. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@584 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
07c25b8ef9
commit
a7f298e6c3
|
@ -8,10 +8,10 @@
|
||||||
// Legal information string - dont't remove from image!
|
// Legal information string - dont't remove from image!
|
||||||
static const char* LEGAL_INFORMATION =
|
static const char* LEGAL_INFORMATION =
|
||||||
|
|
||||||
"Open Asset Import Library (ASSIMP).\n"
|
"Open Asset Import Library (Assimp).\n"
|
||||||
"A free C/C++ library to import various 3D file formats into applications\n\n"
|
"A free C/C++ library to import various 3D file formats into applications\n\n"
|
||||||
|
|
||||||
"(c) ASSIMP Development Team, 2008-2009\n"
|
"(c) ASSIMP Development Team, 2008-2010\n"
|
||||||
"License: 3-clause BSD license\n"
|
"License: 3-clause BSD license\n"
|
||||||
"Website: http://assimp.sourceforge.net\n"
|
"Website: http://assimp.sourceforge.net\n"
|
||||||
;
|
;
|
||||||
|
@ -59,8 +59,8 @@ ASSIMP_API unsigned int aiGetCompileFlags () {
|
||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
// include current build revision
|
// include current build revision, which is even updated from time to time -- :-)
|
||||||
#include "../mkutil/revision.h"
|
#include "../revision.h"
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
ASSIMP_API unsigned int aiGetVersionRevision ()
|
ASSIMP_API unsigned int aiGetVersionRevision ()
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Microsoft Visual C++ generated resource script.
|
// Microsoft Visual C++ generated resource script.
|
||||||
//
|
//
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include "..\..\mkutil\revision.h"
|
#include "..\..\revision.h"
|
||||||
|
|
||||||
#define APSTUDIO_READONLY_SYMBOLS
|
#define APSTUDIO_READONLY_SYMBOLS
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
cd ..\code
|
|
||||||
mingw32-make -f makefile.mingw clean
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
del /Q /S obj bin lib
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
cd ..\code
|
|
||||||
mingw32-make -f makefile.mingw
|
|
||||||
|
|
||||||
pause
|
|
|
@ -1 +0,0 @@
|
||||||
#define SVNRevision 526
|
|
|
@ -41,11 +41,11 @@ rem -----------------------------------------------------
|
||||||
rem Build output file names
|
rem Build output file names
|
||||||
rem -----------------------------------------------------
|
rem -----------------------------------------------------
|
||||||
|
|
||||||
cd ..\bin
|
cd ..\..\bin
|
||||||
svnversion > tmpfile.txt
|
svnversion > tmpfile.txt
|
||||||
SET /p REVISIONBASE= < tmpfile.txt
|
SET /p REVISIONBASE= < tmpfile.txt
|
||||||
DEL /q tmpfile.txt
|
DEL /q tmpfile.txt
|
||||||
cd ..\mkutil
|
cd ..\packaging\windows-mkzip
|
||||||
|
|
||||||
SET VERSIONBASE=1.0.%REVISIONBASE%
|
SET VERSIONBASE=1.0.%REVISIONBASE%
|
||||||
|
|
||||||
|
@ -72,21 +72,21 @@ rem -----------------------------------------------------
|
||||||
SET BINCFG_x86=release-dll_win32
|
SET BINCFG_x86=release-dll_win32
|
||||||
SET BINCFG_x64=release-dll_x64
|
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"
|
||||||
|
|
||||||
copy /Y ..\bin\assimpcmd_%BINCFG_x86%\assimp.exe "final\%OUT_BIN%\x86\assimp.exe"
|
copy /Y ..\..\bin\assimpcmd_%BINCFG_x86%\assimp.exe "final\%OUT_BIN%\x86\assimp.exe"
|
||||||
copy /Y ..\bin\assimpcmd_%BINCFG_x64%\assimp.exe "final\%OUT_BIN%\x64\assimp.exe"
|
copy /Y ..\..\bin\assimpcmd_%BINCFG_x64%\assimp.exe "final\%OUT_BIN%\x64\assimp.exe"
|
||||||
|
|
||||||
copy /Y ..\bin\assimp_%BINCFG_x86%\Assimp32.dll "final\%OUT_BIN%\x86\Assimp32.dll"
|
copy /Y ..\..\bin\assimp_%BINCFG_x86%\Assimp32.dll "final\%OUT_BIN%\x86\Assimp32.dll"
|
||||||
copy /Y ..\bin\assimp_%BINCFG_x64%\Assimp64.dll "final\%OUT_BIN%\x64\Assimp64.dll"
|
copy /Y ..\..\bin\assimp_%BINCFG_x64%\Assimp64.dll "final\%OUT_BIN%\x64\Assimp64.dll"
|
||||||
|
|
||||||
copy ..\LICENSE final\%OUT_BIN%\LICENSE
|
copy ..\..\LICENSE final\%OUT_BIN%\LICENSE
|
||||||
copy ..\CREDITS final\%OUT_BIN%\CREDITS
|
copy ..\..\CREDITS final\%OUT_BIN%\CREDITS
|
||||||
copy bin_readme.txt final\%OUT_BIN%\README
|
copy bin_readme.txt final\%OUT_BIN%\README
|
||||||
copy bin_readme.txt final\%OUT_BIN%\README
|
copy bin_readme.txt final\%OUT_BIN%\README
|
||||||
|
|
||||||
copy ..\doc\AssimpCmdDoc_Html\AssimpCmdDoc.chm final\%OUT_BIN%\CommandLine.chm
|
copy ..\..\doc\AssimpCmdDoc_Html\AssimpCmdDoc.chm final\%OUT_BIN%\CommandLine.chm
|
||||||
|
|
||||||
rem -----------------------------------------------------
|
rem -----------------------------------------------------
|
||||||
rem Do a clean export of the repository and build SDK
|
rem Do a clean export of the repository and build SDK
|
||||||
|
@ -95,11 +95,9 @@ rem We take the current revision and remove some stuff
|
||||||
rem that is nto yet ready to be published.
|
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%\mkutil
|
rem RD /s /q final\%OUT_SDK%\packaging
|
||||||
RD /s /q final\%OUT_SDK%\port\jAssimp
|
|
||||||
RD /s /q final\%OUT_SDK%\port\Assimp.net
|
|
||||||
RD /s /q final\%OUT_SDK%\workspaces\jidea5.1
|
|
||||||
|
|
||||||
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
|
|
@ -9,17 +9,17 @@ rem -----------------------------------------------------
|
||||||
rem This is not very elegant, but it works.
|
rem This is not very elegant, but it works.
|
||||||
rem ./bin shouldn't have any local modifications
|
rem ./bin shouldn't have any local modifications
|
||||||
|
|
||||||
cd ..\bin
|
cd .\..\..\bin
|
||||||
svnversion > tmpfile.txt
|
svnversion > tmpfile.txt
|
||||||
set /p addtext= < tmpfile.txt
|
set /p addtext= < tmpfile.txt
|
||||||
del /q tmpfile.txt
|
del /q tmpfile.txt
|
||||||
cd ..\mkutil
|
cd ..\packaging\windows-mkzip
|
||||||
|
|
||||||
echo #define SVNRevision > tmpfile.txt
|
echo #define SVNRevision > tmpfile.txt
|
||||||
|
|
||||||
if exist revision.h del /q revision.h
|
if exist ..\..\revision.h del /q ..\..\revision.h
|
||||||
for /f "delims=" %%l in (tmpfile.txt) Do (
|
for /f "delims=" %%l in (tmpfile.txt) Do (
|
||||||
echo %%l %addtext% >> revision.h
|
echo %%l %addtext% >> ..\..\revision.h
|
||||||
)
|
)
|
||||||
del /q tmpfile.txt
|
del /q tmpfile.txt
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
#define SVNRevision 578
|
|
@ -1,7 +1,7 @@
|
||||||
// Microsoft Visual C++ generated resource script.
|
// Microsoft Visual C++ generated resource script.
|
||||||
//
|
//
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include "../../mkutil/revision.h"
|
#include "../../revision.h"
|
||||||
|
|
||||||
#define APSTUDIO_READONLY_SYMBOLS
|
#define APSTUDIO_READONLY_SYMBOLS
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue