Skip to content

Instantly share code, notes, and snippets.

@dpogue
Created April 19, 2014 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpogue/11072093 to your computer and use it in GitHub Desktop.
Save dpogue/11072093 to your computer and use it in GitHub Desktop.
$devlibs_url = "http://guildofwriters.org/tools/devlibs.zip"
New-Item -ItemType directory build
Set-Location build
Invoke-WebRequest $devlibs_url -OutFile devlibs.zip
New-Item -ItemType directory devlibs
$shell_app = New-Object -com shell.application
$path = (Get-Location).Path
$zip = $shell_app.namespace($path + "\devlibs.zip")
$dest = $shell_app.namespace($path + "\devlibs")
$dest.CopyHere($zip.items(), 0x14)
cmake -DCMAKE_INSTALL_PREFIX=devlibs -G "Visual Studio 12" ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment