You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
350 B

@ECHO OFF
:LOOP
IF "%1"=="" (
EXIT /B 255
)
IF "%1"=="--version" (
ECHO 0.0-cmake-dummy
EXIT /B 0
)
IF "%1"=="--exists" (
SHIFT
ECHO Expected: %*
ECHO Found: %PKG_CONFIG_PATH%
IF NOT "%*"=="%PKG_CONFIG_PATH%" (
EXIT /B 1
) ELSE (
EXIT /B 0
)
)
SHIFT
IF NOT "%~1"=="" GOTO LOOP
EXIT /B 255