From 90071951fee31ed3c12e05746f032decfb825f6a Mon Sep 17 00:00:00 2001 From: dm Date: Mon, 22 Dec 2008 23:26:04 +0000 Subject: [PATCH] Expedite Win32 VS8 project added SVN revision: 38285 --- win32/set_env.bat | 50 +++ win32/vs8/expedite.sln | 20 ++ win32/vs8/expedite.vcproj | 653 ++++++++++++++++++++++++++++++++++ win32/vs8/out/run.bat | 2 + win32/vs8/out/update_deps.bat | 42 +++ win32/vs8/start.bat | 35 ++ 6 files changed, 802 insertions(+) create mode 100644 win32/set_env.bat create mode 100644 win32/vs8/expedite.sln create mode 100644 win32/vs8/expedite.vcproj create mode 100644 win32/vs8/out/run.bat create mode 100644 win32/vs8/out/update_deps.bat create mode 100644 win32/vs8/start.bat diff --git a/win32/set_env.bat b/win32/set_env.bat new file mode 100644 index 0000000..eef27b8 --- /dev/null +++ b/win32/set_env.bat @@ -0,0 +1,50 @@ +@echo off + +rem Set external libraries directory. +set EXT_DIR=%cd%\..\..\..\..\extern + +if not exist %EXT_DIR% ( + set EXT_DIR= + echo ERROR: External libs dir is not set. + pause + goto END +) + +rem Add installation directory pathes. +set INCLUDE=%EXT_DIR%\include;%INCLUDE% +set LIB=%EXT_DIR%\lib;%LIB% + +rem Add Evil lib path +set EvilInclude=%cd%\..\..\proto\evil\src\lib +set EvilCommon=%cd%\..\..\proto\evil\win32\common +set EvilOut=%cd%\..\..\proto\evil\win32\%PROJECT_TYPE%\out + +rem Add Evas lib path +set EvasOut=%cd%\..\..\evas\win32\%PROJECT_TYPE%\out +set EvasDirect3DInclude=%cd%\..\..\evas\src\modules\engines\direct3d +set EvasGLGlewInclude=%cd%\..\..\evas\src\modules\engines\gl_glew +set EvasDDrawInclude=%cd%\..\..\evas\src\modules\engines\software_ddraw +set EvasInclude=%EvasDDrawInclude%;%EvasGLGlewInclude%;%EvasDirect3DInclude%;%cd%\..\..\evas\src\lib + +rem Add Eina lib path +set EinaInclude=%cd%\..\..\eina\src\include +set EinaCommon=%cd%\..\..\eina\win32\common +set EinaOut=%cd%\..\..\eina\win32\%PROJECT_TYPE%\out + + +set INCLUDE=%EvasInclude%;%EvilCommon%;%EvilInclude%;%EvilInclude%\dlfcn;%EvilInclude%\mman;%INCLUDE% +set INCLUDE=%EinaCommon%;%EinaInclude%;%INCLUDE% +set LIB=%EinaOut%;%EvasOut%;%EvilOut%;%LIB% + +if "%DXSDK_DIR%" == "" ( + echo WARNING: Microsoft DirectX SDK is not installed. + pause + goto END +) + +rem Add DirectX includes and libraries dirs. +set INCLUDE="%DXSDK_DIR%Include";%INCLUDE% +set LIB="%DXSDK_DIR%Lib\x86";%LIB% + + +:END diff --git a/win32/vs8/expedite.sln b/win32/vs8/expedite.sln new file mode 100644 index 0000000..87210b6 --- /dev/null +++ b/win32/vs8/expedite.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "expedite", "expedite.vcproj", "{5C640EA7-6E65-46FF-A1FE-EB0955B0CC5A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5C640EA7-6E65-46FF-A1FE-EB0955B0CC5A}.Debug|Win32.ActiveCfg = Debug|Win32 + {5C640EA7-6E65-46FF-A1FE-EB0955B0CC5A}.Debug|Win32.Build.0 = Debug|Win32 + {5C640EA7-6E65-46FF-A1FE-EB0955B0CC5A}.Release|Win32.ActiveCfg = Release|Win32 + {5C640EA7-6E65-46FF-A1FE-EB0955B0CC5A}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/win32/vs8/expedite.vcproj b/win32/vs8/expedite.vcproj new file mode 100644 index 0000000..a9bb932 --- /dev/null +++ b/win32/vs8/expedite.vcproj @@ -0,0 +1,653 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/win32/vs8/out/run.bat b/win32/vs8/out/run.bat new file mode 100644 index 0000000..3681b06 --- /dev/null +++ b/win32/vs8/out/run.bat @@ -0,0 +1,2 @@ +set EVAS_MODULES_DIR=%cd% +start expedite.exe -datadir ..\..\..\data -e direct3d \ No newline at end of file diff --git a/win32/vs8/out/update_deps.bat b/win32/vs8/out/update_deps.bat new file mode 100644 index 0000000..978dece --- /dev/null +++ b/win32/vs8/out/update_deps.bat @@ -0,0 +1,42 @@ +@echo off + +set Target=%cd% +set e17=%cd%\..\..\..\.. +set Libs=%e17% +set Proto=%e17%\proto +set Extern=%e17%\..\..\extern + +rem Copy externals +cd %Extern%\bin +xcopy freetype6.dll %Target%\ /Q /Y +xcopy jpeg62.dll %Target%\ /Q /Y +xcopy zlib1.dll %Target%\ /Q /Y +xcopy glew32.dll %Target%\ /Q /Y + +rem Copy proto +cd %Proto%\evil\win32\vs8\out +xcopy libdl.dll %Target%\ /Q /Y +xcopy libevil.dll %Target%\ /Q /Y +xcopy libmman.dll %Target%\ /Q /Y + +rem Copy libs +cd %Libs%\eina\win32\vs8\out +xcopy eina.dll %Target%\ /Q /Y + +cd %Libs%\eet\win32\vs8\out +xcopy libeet.dll %Target%\ /Q /Y + +cd %Libs%\evas\win32\vs8\out +xcopy libevas.dll %Target%\ /Q /Y + +set Modules=%Libs%\evas\win32\vs8\out\modules +cd %Modules%\engines\direct3d +xcopy module.dll %Target%\evas\modules\engines\direct3d\mingw32-i686\ /Q /Y +cd %Modules%\engines\software_ddraw +xcopy module.dll %Target%\evas\modules\engines\software_ddraw\mingw32-i686\ /Q /Y +cd %Modules%\engines\software_generic +xcopy module.dll %Target%\evas\modules\engines\software_generic\mingw32-i686\ /Q /Y +cd %Modules%\engines\gl_glew +xcopy module.dll %Target%\evas\modules\engines\gl_glew\mingw32-i686\ /Q /Y +cd %Modules%\loaders\png +xcopy module.dll %Target%\evas\modules\loaders\png\mingw32-i686\ /Q /Y diff --git a/win32/vs8/start.bat b/win32/vs8/start.bat new file mode 100644 index 0000000..2d442c4 --- /dev/null +++ b/win32/vs8/start.bat @@ -0,0 +1,35 @@ +@echo off +rem Warning: environment is set for Win32 platform. + +set PROJECT_TYPE=vs8 + +pushd .. +call set_env.bat +popd + +if "%EXT_DIR%" == "" goto END + +rem Setup common Win32 environment variables + +set SolutionDirectory=%cd% +set DebugOutputDirectory=%SolutionDirectory%\out +set ReleaseOutputDirectory=%SolutionDirectory%\out +set DebugLibraryDirectory=%SolutionDirectory%\out +set ReleaseLibraryDirectory=%SolutionDirectory%\out +set TemporaryDirectory=%SolutionDirectory%\temp + +rem Check for basic requirements +if "%VS80COMNTOOLS%" == "" ( + echo ERROR: Microsoft Visual Studio 2005 is not installed. + pause + goto END +) + +rem Setting environment for using Microsoft Visual Studio 2005 x86 tools. +call "%VS80COMNTOOLS%vsvars32.bat" + +set EVAS_MODULES_DIR=%cd%\out + +expedite.sln + +:END \ No newline at end of file