Skip to content

Prototype binary package utilties for vcpkg written in PowerShell

License

Notifications You must be signed in to change notification settings

rkitover/vcpkg-binpkg-prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents generated with DocToc

Experimental Binary Package Support for vcpkg

Installation (PowerShell)

mkdir ~/source/repos
cd ~/source/repos
git clone git@github.com:rkitover/vcpkg-binpkg-prototype
cd
echo "`r`nImport-Module ~/source/repos/vcpkg-binpkg-prototype/vcpkg-binpkg.psm1" >> $profile

then launch a new shell. You will have the commands as aliases (see USAGE.)

Installation (cmd.exe)

mkdir ~/source/repos
cd ~/source/repos
git clone git@github.com:rkitover/vcpkg-binpkg-prototype

Add the directory ~/source/repos/vcpkg-binpkg-prototype/bin to your user PATH for the .bat command wrappers.

Installation (Linux or MacOS)

Install powershell-preview or powershell.

mkdir ~/source/repos
cd ~/source/repos
git clone [email protected]:rkitover/vcpkg-binpkg-prototype

add ~/source/repos/vcpkg-binpkg-prototype/bin to your PATH in your ~/.bashrc for the shell script wrappers.

USAGE

You must set the environment variable VCPKG_ROOT to the path to your vcpkg installation.

vcpkg-mkpkg <pkg>:<triplet>

Given an installed package qualified with its triplet, this command will create a .zip binary package in the current directory that can be installed in any vcpkg installation.

vcpkg-instpkg [<package.zip>|<directory>]

Installs a package made with vcpkg-mkpkg into the vcpkg installation pointed to by the environment variable VCPKG_ROOT. If the package or another version is already installed for the package triplet, it is removed first.

Build dependencies are automatically installed in new vcpkg clones.

You can also pass a directory path containing packages and they will be installed in dependency order.

vcpkg-rmpkg <pkg>:<triplet>

Removes the files for an installed vcpkg package, but NOT the status database entries. You will most likely not need this command.

About

Prototype binary package utilties for vcpkg written in PowerShell

Resources

License

Stars

Watchers

Forks

Packages

No packages published