forked from enlightenment/efl
52 lines
1.4 KiB
Batchfile
52 lines
1.4 KiB
Batchfile
@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;%EXT_DIR%\include\freetype2;%INCLUDE%
|
|
set LIB=%EXT_DIR%\lib;%LIB%
|
|
|
|
rem Add Evas lib path
|
|
set EvasPath=%cd%\..\src\lib
|
|
set INCLUDE=%EvasPath%\..\modules\engines\gl_common;%EvasPath%;%EvasPath%\include;%EvasPath%\cserve;%EvasPath%\file;%INCLUDE%
|
|
|
|
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%
|
|
|
|
rem Add Evil lib path
|
|
set EvilInclude=%cd%\..\..\evil\src\lib
|
|
set EvilCommon=%cd%\..\..\evil\win32\common
|
|
set EvilOut=%cd%\..\..\evil\win32\%PROJECT_TYPE%\out
|
|
|
|
rem Add Eet lib path
|
|
set EetInclude=%cd%\..\..\eet\src\lib
|
|
set EetOut=%cd%\..\..\eet\win32\%PROJECT_TYPE%\out
|
|
|
|
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=%EvilCommon%;%cd%\common;%EetInclude%;%EvilInclude%;%EvilInclude%\dlfcn;%EvilInclude%\mman;%INCLUDE%
|
|
set INCLUDE=%EinaCommon%;%EinaInclude%;%INCLUDE%
|
|
set LIB=%EinaOut%;%EetOut%;%EvilOut%;%LIB%
|
|
|
|
|
|
:END
|