forked from ethereum/solidity
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3,617 changed files
with
61,592 additions
and
23,669 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
$ErrorActionPreference = "Stop" | ||
|
||
cd "$PSScriptRoot\.." | ||
|
||
if ("$Env:FORCE_RELEASE" -Or "$Env:CIRCLE_TAG") { | ||
New-Item prerelease.txt -type file | ||
Write-Host "Building release version." | ||
} | ||
|
||
mkdir build | ||
cd build | ||
$boost_dir=(Resolve-Path $PSScriptRoot\..\deps\boost\lib\cmake\Boost-*) | ||
..\deps\cmake\bin\cmake -G "Visual Studio 16 2019" -DBoost_DIR="$boost_dir\" -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DCMAKE_INSTALL_PREFIX="$PSScriptRoot\..\upload" .. | ||
if ( -not $? ) { throw "CMake configure failed." } | ||
msbuild solidity.sln /p:Configuration=Release /m:5 /v:minimal | ||
if ( -not $? ) { throw "Build failed." } | ||
..\deps\cmake\bin\cmake --build . -j 5 --target install --config Release | ||
if ( -not $? ) { throw "Install target failed." } |
Oops, something went wrong.