Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
7e7508a8
Commit
7e7508a8
authored
May 13, 2014
by
evoskuil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Harden MSBUILD base script against various VS installations.
parent
bf169024
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
buildbase.bat
builds/msvc/build/buildbase.bat
+10
-6
No files found.
builds/msvc/build/buildbase.bat
View file @
7e7508a8
@ECHO OFF
REM Usage: [buildbase.bat ..\vs2013\
libzmq
.sln 12]
REM Usage: [buildbase.bat ..\vs2013\
mysolution
.sln 12]
SET solution=%1
SET version=%2
SET log=build_%version%.log
REM This breaks if visual studio is not installed or is installed to a non-default location.
SET environment="C:\Program Files (x86)\Microsoft Visual Studio %version%.0\VC\vcvarsall.bat"
SET tools=Microsoft Visual Studio %version%.0\VC\vcvarsall.bat
SET environment="%programfiles(x86)%\%tools%"
IF NOT EXIST %environment% SET environment="%programfiles%\%tools%"
IF NOT EXIST %environment% GOTO no_tools
ECHO Building: %solution%
...
...
@@ -59,7 +59,11 @@ ECHO Complete: %solution%
GOTO end
:error
ECHO *** ERROR, build terminated, see: %log%
ECHO *** ERROR, build terminated early, see: %log%
GOTO end
:no_tools
ECHO *** ERROR, build tools not found: %tools%
:end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment