Skip to content

Commit

Permalink
* Detect whether or not the build script is running in a Visual C++ c…
Browse files Browse the repository at this point in the history
…ommand line.

git-svn-id: svn://192.168.0.2/atwl/trunk@492 308214b9-756b-4e5d-a632-11ace8911769
  • Loading branch information
ai4rei committed Mar 7, 2021
1 parent d5448b7 commit f26e947
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions WeeDiff/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ REM Creative Commons BY-NC-SA 4.0 International License
REM https://creativecommons.org/licenses/by-nc-sa/4.0/

:SETUP
IF "%INCLUDE%"=="" GOTO NOENV
ECHO Setting up builder...
REM Obtain current directory
ECHO SET BUILDERDIR=^^>~~~build.bat
Expand Down Expand Up @@ -73,7 +74,12 @@ SET BUILDERDIR=
SET OUT=
GOTO EXIT

:NOENV
ECHO Compiler not found. Use the Visual C++ Command Line.
GOTO EXIT

:ERROR
ECHO Error occured.
GOTO EXIT

:EXIT

0 comments on commit f26e947

Please sign in to comment.