mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Made install_vcpkg_dendencies.bat work from any working directory
pushd %~dp0 will push the directory that contains the file as the working directory and we also pop it at the end to be a good citizen and restore the previous working directory
This commit is contained in:
parent
843713a96e
commit
8c155f8adc
@ -1,5 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
pushd %~dp0
|
||||||
|
|
||||||
REM get vcpkg distribution
|
REM get vcpkg distribution
|
||||||
if not exist vcpkg git clone https://github.com/Microsoft/vcpkg.git
|
if not exist vcpkg git clone https://github.com/Microsoft/vcpkg.git
|
||||||
|
|
||||||
@ -8,3 +10,5 @@ if not exist vcpkg\vcpkg.exe call vcpkg\bootstrap-vcpkg.bat -disableMetrics
|
|||||||
|
|
||||||
REM install required packages
|
REM install required packages
|
||||||
vcpkg\vcpkg.exe install --triplet x64-windows-static freetype glfw3 capstone[arm,arm64,x86]
|
vcpkg\vcpkg.exe install --triplet x64-windows-static freetype glfw3 capstone[arm,arm64,x86]
|
||||||
|
|
||||||
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user