mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
GH #477: 1.5.2 buildwin.cmd incorrect, part II
This commit is contained in:
parent
61871cb035
commit
acde81f041
@ -148,9 +148,9 @@ if not "%ACTION%"=="build" (
|
||||
if not "%ACTION%"=="rebuild" (
|
||||
if not "%ACTION%"=="clean" goto usage))
|
||||
|
||||
rem LINKMODE [static|shared|both]
|
||||
rem LINKMODE [static_mt|static_md|shared|all]
|
||||
set LINK_MODE=%3
|
||||
if "%LINK_MODE%"=="" (set LINK_MODE=shared)
|
||||
if "%LINK_MODE%"=="" (set LINK_MODE=all)
|
||||
if not "%LINK_MODE%"=="static_mt" (
|
||||
if not "%LINK_MODE%"=="static_md" (
|
||||
if not "%LINK_MODE%"=="shared" (
|
||||
@ -158,7 +158,7 @@ if not "%LINK_MODE%"=="all" goto usage)))
|
||||
|
||||
rem CONFIGURATION [release|debug|both]
|
||||
set CONFIGURATION=%4
|
||||
if "%CONFIGURATION%"=="" (set CONFIGURATION=release)
|
||||
if "%CONFIGURATION%"=="" (set CONFIGURATION=both)
|
||||
if not "%CONFIGURATION%"=="release" (
|
||||
if not "%CONFIGURATION%"=="debug" (
|
||||
if not "%CONFIGURATION%"=="both" goto usage))
|
||||
|
Loading…
Reference in New Issue
Block a user