-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvcpkg-search.cmd
34 lines (24 loc) · 1.04 KB
/
vcpkg-search.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
@echo off
@setlocal enableextensions enabledelayedexpansion
@%_DEV_ROOT_DRV%
@cd %_DEV_ROOT_DRV%\
@if not exist %_VCPKG_ROOT_DIR% (
@echo ERROR: Vcpkg installation required but not installed - please install
@goto :end-script
)
@cd %_VCPKG_ROOT_DIR%
@if not exist %_VCPKG_TOOL_EXE% (
@echo ERROR: Vcpkg executable binary required but not installed - please install
@goto :end-script
)
@set _VCPKG_LOG=%_VCPKG_GIT_LOGS_DIR%\vcpkg-search.log
@echo. >%_VCPKG_LOG%
@echo Vcpkg >>%_VCPKG_LOG%
@echo Search of Available ports >>%_VCPKG_LOG%
@call %_VCPKG_GIT_SCRIPTS_DIR%\vcpkg-list-versions.cmd
@echo Port Name/Feature(s) Version Description >>%_VCPKG_LOG%
@echo ----------------------- --------------- ----------------------------------------------------------------------------- >>%_VCPKG_LOG%
rem
@%_VCPKG_TOOL_EXE% search >>%_VCPKG_LOG% 2>>&1
:end-script
@endlocal