3 rem Set external libraries directory.
\r
4 set EXT_DIR=%cd%\..\..\..\extern
\r
6 if not exist %EXT_DIR% (
\r
8 echo ERROR: External libs dir is not set.
\r
13 rem Check for basic requirements for Visual Studio 2008
\r
14 if "%VS90COMNTOOLS%" == "" (
\r
15 echo ERROR: Microsoft Visual Studio 2008 is not installed.
\r
20 set PROJECT_TYPE=vs9
\r
21 set VSCOMMONTOOLS=%VS90COMNTOOLS%vsvars32.bat
\r
27 rem Check for basic requirements for Visual Studio 2005
\r
28 if "%VS80COMNTOOLS%" == "" (
\r
29 echo ERROR: Microsoft Visual Studio 2005 is not installed.
\r
34 set PROJECT_TYPE=vs8
\r
35 set VSCOMMONTOOLS=%VS80COMNTOOLS%vsvars32.bat
\r
39 rem Setup common Win32 environment variables
\r
41 rem Add Evil lib path
\r
42 set EvilInclude=%cd%\..\..\evil\src\lib
\r
43 set EvilCommon=%cd%\..\..\evil\win32\common
\r
44 set EvilOut=%cd%\..\..\evil\win32\%PROJECT_TYPE%\out
\r
46 set INCLUDE=%EvilCommon%;%EvilInclude%;%EvilInclude%\dlfcn;%INCLUDE%
\r
47 set LIB=%EvilOut%;%LIB%
\r
49 rem Add Eina lib path
\r
50 set EinaInclude=%cd%\..\..\eina\src\include
\r
51 set EinaCommon=%cd%\..\..\eina\win32\common
\r
52 set EinaOut=%cd%\..\..\eina\win32\%PROJECT_TYPE%\out
\r
54 set INCLUDE=%EinaCommon%;%EinaInclude%;%INCLUDE%
\r
55 set LIB=%EinaOut%;%LIB%
\r
57 rem Add installation directory pathes.
\r
58 set INCLUDE=%EXT_DIR%\include;%INCLUDE%
\r
59 set LIB=%EXT_DIR%\lib;%LIB%
\r
61 set INCLUDE=%cd%\common;%cd%\..\src\include;%INCLUDE%
\r
63 set SolutionDirectory=%cd%\%PROJECT_TYPE%
\r
64 set DebugOutputDirectory=%SolutionDirectory%\out
\r
65 set ReleaseOutputDirectory=%SolutionDirectory%\out
\r
66 set DebugLibraryDirectory=%SolutionDirectory%\out
\r
67 set ReleaseLibraryDirectory=%SolutionDirectory%\out
\r
68 set TemporaryDirectory=%SolutionDirectory%\temp
\r
70 rem Setting environment for using Microsoft Visual Studio x86 tools.
\r
71 call "%VSCOMMONTOOLS%"
\r
73 %PROJECT_TYPE%\eet.sln
\r