diff options
author | Peter Jas <necmon@yahoo.com> | 2015-10-06 00:50:17 +0300 |
---|---|---|
committer | Peter Jas <necmon@yahoo.com> | 2015-10-06 20:54:32 +0300 |
commit | 32b0d1727c4989563a61f449bf9b070b1afbf179 (patch) | |
tree | 8c7dead2990202874f709ef2b3755dff5e93ac2d /build.cmd | |
parent | b079b9a26b4bb6cf1b4f8c6290cbb5054c9fa6d5 (diff) |
build: Unset %Platform% on invoking build.cmd.
Unset `%Platform%`, so build don't get disrupted by the incorrect value
set in evn variable.
Fixes #69.
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -23,6 +23,11 @@ if not defined VisualStudioVersion ( ) :EnvSet +:: Clear the 'Platform' env variable for this session, +:: as it's a per-project setting within the build, and +:: misleading value (such as 'MCD' in HP PCs) may lead +:: to build breakage (issue: #69). +set Platform= :: Log build command line set _buildproj=%~dp0build.proj |