distrib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,26 +1,23 @@
|
|||||||
This tarball contains all the files needed (I hope!) to allow you to
|
This tarball contains all the files needed (I hope!) to allow you to
|
||||||
write win32 programs or Python extension modules that link to the same
|
write win32 programs or Python extension modules that link to the same
|
||||||
wxWindows DLL that wxPython does. Files for both the normal (ANSI)
|
wxWindows DLL that wxPython does. Files for both the normal (ANSI)
|
||||||
and unicode builds are included.
|
and Unicode builds are included.
|
||||||
|
|
||||||
You'll need to add the following directories to your Include path (the
|
You'll need to add the following directories to your Include path (the
|
||||||
/I flag for MSVC):
|
/I flag for MSVC):
|
||||||
|
|
||||||
wxPython-[version]\lib\mswdllh [for ANSI builds]
|
wxPython-[version]\lib\vc_dll\mswh [for ANSI builds]
|
||||||
wxPython-[version]\lib\mswdlluh [for Unicode builds]
|
wxPython-[version]\lib\vc_dll\mswuh [for Unicode builds]
|
||||||
wxPython-[version]\include
|
wxPython-[version]\include
|
||||||
|
|
||||||
And also you should link with one of the wxmsw*.lib files in the lib
|
And also you should link with a set of the *.lib files in the
|
||||||
dir, use the one with the 'u' in the name for the Unicode build and
|
lib/vc_dll dir. Us the ones with the 'u' in the name after the version
|
||||||
the one without for the ANSI build.
|
numbers for Unicode builds, the ones without the 'u' are for ANSI
|
||||||
|
builds.
|
||||||
|
|
||||||
I've also included some makefiles in the src dir to give you an idea
|
I'm sure I've forgotten some files or something, so when you discover
|
||||||
of what compiler and linker flags are required. You can also get this
|
what it is please let me know. Also, if anyone feels like turning
|
||||||
info from wxPython's setup.py script.
|
this text into a more detailed HOW-TO please send your text to me.
|
||||||
|
|
||||||
I'm sure I've forgotten something, so when you discover what it is
|
|
||||||
please let me know. Also, if anyone feels like turning this text into
|
|
||||||
a more detailed HOW-TO please send your text to me.
|
|
||||||
|
|
||||||
|
|
||||||
Robin
|
Robin
|
||||||
|
@@ -14,57 +14,66 @@ mkdir %BASE%
|
|||||||
rem *** copy files
|
rem *** copy files
|
||||||
copy distrib\README.devel.txt %BASE%\README.txt
|
copy distrib\README.devel.txt %BASE%\README.txt
|
||||||
|
|
||||||
|
|
||||||
mkdir %BASE%\include
|
mkdir %BASE%\include
|
||||||
mkdir %BASE%\include\wx
|
mkdir %BASE%\include\wx
|
||||||
copy /s %WXWIN%\include\wx\* %BASE%\include\wx
|
copy /s %WXWIN%\include\wx\* %BASE%\include\wx
|
||||||
|
|
||||||
mkdir %BASE%\lib
|
copy /s %WXWIN%\contrib\include\wx\gizmos %BASE%\include\wx\gizmos
|
||||||
mkdir %BASE%\lib\mswdllh
|
copy /s %WXWIN%\contrib\include\wx\ogl %BASE%\include\wx\ogl
|
||||||
mkdir %BASE%\lib\mswdlluh
|
copy /s %WXWIN%\contrib\include\wx\stc %BASE%\include\wx\stc
|
||||||
copy /s %WXWIN%\lib\mswdllh\* %BASE%\lib\mswdllh
|
copy /s %WXWIN%\contrib\include\wx\xrc %BASE%\include\wx\xrc
|
||||||
copy /s %WXWIN%\lib\mswdlluh\* %BASE%\lib\mswdlluh
|
|
||||||
copy %WXWIN%\lib\wxmsw*h.lib %BASE%\lib
|
|
||||||
copy %WXWIN%\lib\wxmsw*h.dll %BASE%\lib
|
|
||||||
copy %WXWIN%\lib\mslu.txt %BASE%\lib
|
|
||||||
copy %WXWIN%\lib\unicows.dll %BASE%\lib
|
|
||||||
copy %WXWIN%\lib\unicows.lib %BASE%\lib
|
|
||||||
|
|
||||||
mkdir %BASE%\src
|
copy /s %WXWIN%\wxPython\include\wx\* %BASE%\include\wx
|
||||||
copy %WXWIN%\src\makevc.env %BASE%\src
|
mkdir %BASE%\include\wx\wxPython\i_files
|
||||||
copy %WXWIN%\src\makelib.vc %BASE%\src
|
copy %WXWIN%\wxPython\src\*.i %BASE%\include\wx\wxPython\i_files
|
||||||
|
|
||||||
|
mkdir %BASE%\lib
|
||||||
|
mkdir %BASE%\lib\vc_dll
|
||||||
|
mkdir %BASE%\lib\vc_dll\mswh
|
||||||
|
mkdir %BASE%\lib\vc_dll\mswuh
|
||||||
|
|
||||||
|
copy /s %WXWIN%\lib\vc_dll\mswh\* %BASE%\lib\vc_dll\mswh
|
||||||
|
copy /s %WXWIN%\lib\vc_dll\mswuh\* %BASE%\lib\vc_dll\mswuh
|
||||||
|
copy %WXWIN%\lib\vc_dll\* %BASE%\lib\vc_dll
|
||||||
|
|
||||||
|
|
||||||
rem *** remove unneeded files
|
rem *** remove unneeded files
|
||||||
del /sxzy %BASE%\include\wx\CVS
|
cd _distrib_zip
|
||||||
del /sxzy %BASE%\include\wx\generic\CVS
|
|
||||||
del /sxzy %BASE%\include\wx\gtk\CVS
|
ffind /SB wx*d_*.* > del-files
|
||||||
del /sxzy %BASE%\include\wx\html\CVS
|
ffind /SB wx*d.* >> del-files
|
||||||
del /sxzy %BASE%\include\wx\mac\CVS
|
ffind /SB .#* >> del-files
|
||||||
del /sxzy %BASE%\include\wx\mgl\CVS
|
ffind /SB .cvsignore >> del-files
|
||||||
del /sxzy %BASE%\include\wx\motif\CVS
|
|
||||||
del /sxzy %BASE%\include\wx\msw\CVS
|
for %f in (@del-files) do rm -fv %f
|
||||||
del /sxzy %BASE%\include\wx\msw\ctl3d\CVS
|
rem del /y @del-files
|
||||||
del /sxzy %BASE%\include\wx\msw\gnuwin32\CVS
|
|
||||||
del /sxzy %BASE%\include\wx\msw\gnuwin32\gl\CVS
|
|
||||||
del /sxzy %BASE%\include\wx\msw\ole\CVS
|
|
||||||
del /sxzy %BASE%\include\wx\os2\CVS
|
|
||||||
del /sxzy %BASE%\include\wx\protocol\CVS
|
|
||||||
del /sxzy %BASE%\include\wx\univ\CVS
|
|
||||||
del /sxzy %BASE%\include\wx\unix\CVS
|
|
||||||
del /sxzy %BASE%\include\wx\x11\CVS
|
|
||||||
del /sxzy %BASE%\include\wx\x11\nanox\CVS
|
|
||||||
del /sxzy %BASE%\include\wx\x11\nanox\X11\CVS
|
|
||||||
|
|
||||||
|
|
||||||
|
ffind /SB /A:D CVS > del-dirs
|
||||||
|
echo wxPython-%1\include\wx\cocoa >> del-dirs
|
||||||
|
echo wxPython-%1\include\wx\gtk >> del-dirs
|
||||||
|
echo wxPython-%1\include\wx\mac >> del-dirs
|
||||||
|
echo wxPython-%1\include\wx\mgl >> del-dirs
|
||||||
|
echo wxPython-%1\include\wx\motif >> del-dirs
|
||||||
|
echo wxPython-%1\include\wx\os2 >> del-dirs
|
||||||
|
echo wxPython-%1\include\wx\univ >> del-dirs
|
||||||
|
echo wxPython-%1\include\wx\unix >> del-dirs
|
||||||
|
echo wxPython-%1\include\wx\x11 >> del-dirs
|
||||||
|
|
||||||
|
for %d in (@del-dirs) do rm -rfv %d
|
||||||
|
rem del /sxzy @del-dirs
|
||||||
|
|
||||||
|
rm del-files
|
||||||
|
rm del-dirs
|
||||||
|
|
||||||
rem *** bundle it all up
|
rem *** bundle it all up
|
||||||
cd _distrib_zip
|
|
||||||
tar cvf ../dist/wxPythonWIN32-devel-%1.tar wxPython-%1
|
tar cvf ../dist/wxPythonWIN32-devel-%1.tar wxPython-%1
|
||||||
gzip -9 ../dist/wxPythonWIN32-devel-%1.tar
|
gzip -9 ../dist/wxPythonWIN32-devel-%1.tar
|
||||||
|
|
||||||
rem *** cleanup
|
rem *** cleanup
|
||||||
cd ..
|
cd ..
|
||||||
del /sxzy _distrib_zip
|
rm -rf _distrib_zip
|
||||||
|
|
||||||
endlocal
|
endlocal
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user