CMake/Tests/RunCMake/FindPkgConfig/dummy-pkg-config.bat

19 lines
253 B
Batchfile
Raw Normal View History

@ECHO OFF
IF "%1"=="" (
EXIT /B 255
)
IF "%1"=="--version" (
ECHO 0.0-cmake-dummy
EXIT /B 0
)
IF "%1"=="--exists" (
SHIFT
2014-03-17 21:09:54 +04:00
ECHO Expected: %*
ECHO Found: %PKG_CONFIG_PATH%
IF NOT "%*"=="%PKG_CONFIG_PATH%" (
EXIT /B 1
)
)
EXIT /B 0