Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 5c106e8

Browse files
committed
Tweak configure.bat file to work for commercial builds.
1 parent 118198e commit 5c106e8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

configure.bat

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,15 @@ IF EXIST "%programfiles(x86)%\Microsoft Speech SDK\*" (
7171
REM Pause so any warnings can be seen
7272
IF %warnings% NEQ 0 PAUSE
7373

74+
REM Community or commercial?
75+
IF /I %BUILD_EDITION% == commercial (
76+
SET gypfile="../livecode-commercial.gyp"
77+
)
78+
7479
REM Run the configure step
75-
%python% gyp\gyp_main.py --format msvs --depth . --generator-output build-win-x86/livecode -Gmsvs_version=2010 %extra_options%
80+
%python% gyp\gyp_main.py --format msvs --depth . --generator-output build-win-x86/livecode -Gmsvs_version=2010 %extra_options% %gypfile%
81+
PAUSE
7682

7783
REM Pause if there was an error so that the user gets a chance to see it
7884
IF %ERRORLEVEL% NEQ 0 PAUSE
7985
EXIT %ERRORLEVEL%
80-

0 commit comments

Comments
 (0)