|
|
|
@echo off
|
|
|
|
|
|
|
|
rem set up some defaults to be used by cmakeBuild.cmd and related scripts
|
|
|
|
rem use environment strings to set defaults which will not be clobbered by this script
|
|
|
|
|
|
|
|
if not defined _CONFIG_ SET _CONFIG_=Release
|
|
|
|
if NOT DEFINED _TEMP_ SET _TEMP_=temp
|
|
|
|
if NOT DEFINED _EXIV2_ SET _EXIV2_=..\trunk
|
|
|
|
if NOT DEFINED _CURL_ SET _CURL_=curl-7.45.0
|
|
|
|
if NOT DEFINED _LIBSSH_ SET _LIBSSH_=libssh-0.7.2
|
|
|
|
if NOT DEFINED _OPENSSL_ SET _OPENSSL_=openssl-1.0.1p
|
|
|
|
if NOT DEFINED _ZLIB_ SET _ZLIB_=zlib-1.2.8
|
|
|
|
if NOT DEFINED _EXPAT_ SET _EXPAT_=expat-2.1.0
|
|
|
|
if NOT DEFINED _BASH_ SET _BASH_=c:\cygwin64\bin\bash.exe
|
|
|
|
if NOT DEFINED _MODE_ SET _MODE_=dll
|
|
|
|
if NOT DEFINED COPYCMD SET COPYCMD=/Y
|
|
|
|
|
|
|
|
rem ---------- check that EXIV2 exists
|
|
|
|
call:echo checking that %_EXIV2_% exists
|
|
|
|
if NOT EXIST %_EXIV2_% (
|
|
|
|
echo "_EXIV2_ = %_EXIV2_% does not exist ***" >&2
|
|
|
|
exit /b 1
|
|
|
|
)
|
|
|
|
pushd %_EXIV2_%
|
|
|
|
set _EXIV2_=%CD%
|
|
|
|
popd
|
|
|
|
if NOT EXIST %_EXIV2_%\src\version.cpp (
|
|
|
|
echo "_EXIV2_ = %_EXIV2_% %_EXIV2_%\src\version.cpp does not exist ***" >&2
|
|
|
|
exit /b 1
|
|
|
|
)
|
|
|
|
|
|
|
|
rem That's all Folks!
|
|
|
|
rem
|