diff options
author | Maarten Gribnau <mail@maartengribnau.com> | 2002-11-11 02:54:39 +0300 |
---|---|---|
committer | Maarten Gribnau <mail@maartengribnau.com> | 2002-11-11 02:54:39 +0300 |
commit | 57ef60d081348d236bf8c519e35ec05ffae6ca16 (patch) | |
tree | 5963e33fb43860eeda999cdcce92d25b3fbaf972 | |
parent | f21dd64460cc9e9ef437b3f30f5af8db62eb219c (diff) |
Added another project to freeze Blender Python code from the main intern
MSVC workspace. It is not finished completely but it works (through a
batchfile).
Maarten
-rw-r--r-- | intern/make/msvc_6_0/intern.dsw | 12 | ||||
-rwxr-xr-x | intern/python/freeze/freeze.bat | 1 | ||||
-rw-r--r-- | intern/python/freeze/python_freeze.dsp | 97 |
3 files changed, 110 insertions, 0 deletions
diff --git a/intern/make/msvc_6_0/intern.dsw b/intern/make/msvc_6_0/intern.dsw index c23c6cd0859..95a7cf14d5c 100644 --- a/intern/make/msvc_6_0/intern.dsw +++ b/intern/make/msvc_6_0/intern.dsw @@ -189,6 +189,18 @@ Package=<4> ############################################################################### +Project: "python_freeze"="..\..\python\freeze\python_freeze.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + Project: "string"="..\..\string\make\msvc_6_0\string.dsp" - Package Owner=<4> Package=<5> diff --git a/intern/python/freeze/freeze.bat b/intern/python/freeze/freeze.bat new file mode 100755 index 00000000000..9a470b1e233 --- /dev/null +++ b/intern/python/freeze/freeze.bat @@ -0,0 +1 @@ +C:\Python-2.2.2\PCBuild\python.exe -S -O freeze.py -d -x os -x pprint -x Blender -I ../modules -o ../../../source/blender/bpython/frozen ../modules/VRMLmain.py
\ No newline at end of file diff --git a/intern/python/freeze/python_freeze.dsp b/intern/python/freeze/python_freeze.dsp new file mode 100644 index 00000000000..7a7ff8b3400 --- /dev/null +++ b/intern/python/freeze/python_freeze.dsp @@ -0,0 +1,97 @@ +# Microsoft Developer Studio Project File - Name="python_freeze" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) External Target" 0x0106 + +CFG=python_freeze - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "python_freeze.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "python_freeze.mak" CFG="python_freeze - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "python_freeze - Win32 Release" (based on "Win32 (x86) External Target") +!MESSAGE "python_freeze - Win32 Debug" (based on "Win32 (x86) External Target") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "python_freeze - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Cmd_Line "NMAKE /f python_freeze.mak" +# PROP BASE Rebuild_Opt "/a" +# PROP BASE Target_File "python_freeze.exe" +# PROP BASE Bsc_Name "python_freeze.bsc" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Cmd_Line "nmake /f "python_freeze.mak"" +# PROP Rebuild_Opt "/a" +# PROP Target_File "python_freeze.exe" +# PROP Bsc_Name "" +# PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "python_freeze - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Cmd_Line "NMAKE /f python_freeze.mak" +# PROP BASE Rebuild_Opt "/a" +# PROP BASE Target_File "python_freeze.exe" +# PROP BASE Bsc_Name "python_freeze.bsc" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Cmd_Line "freeze.bat" +# PROP Rebuild_Opt "" +# PROP Target_File "..\..\..\source\blender\bpython\frozen\M_vrml__scenegraph.c" +# PROP Bsc_Name "" +# PROP Target_Dir "" + +!ENDIF + +# Begin Target + +# Name "python_freeze - Win32 Release" +# Name "python_freeze - Win32 Debug" + +!IF "$(CFG)" == "python_freeze - Win32 Release" + +!ELSEIF "$(CFG)" == "python_freeze - Win32 Debug" + +!ENDIF + +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project |