2018-10-24 20:23:07 +03:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
echo ---------------------------------------------------------------------
|
|
|
|
echo SoftEther VPN for Windows
|
|
|
|
echo.
|
2019-01-14 06:25:53 +03:00
|
|
|
echo Copyright (c) all contributors on SoftEther VPN project in GitHub.
|
|
|
|
echo Copyright (c) Daiyuu Nobori, SoftEther Project at University of Tsukuba, and SoftEther Corporation.
|
2018-10-24 20:23:07 +03:00
|
|
|
echo.
|
2019-01-14 06:25:53 +03:00
|
|
|
echo Read and understand README, LICENSE and WARNING before use.
|
2018-10-24 20:23:07 +03:00
|
|
|
echo ---------------------------------------------------------------------
|
|
|
|
echo.
|
|
|
|
|
|
|
|
echo Welcome to the corner-cutting configure script !
|
|
|
|
echo.
|
|
|
|
|
|
|
|
if not exist "tmp" (
|
|
|
|
mkdir tmp
|
|
|
|
)
|
|
|
|
|
|
|
|
cd tmp
|
|
|
|
|
2018-11-17 23:56:19 +03:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -G "NMake Makefiles" ..
|
2018-10-24 20:23:07 +03:00
|
|
|
|
|
|
|
if %errorlevel% == 0 (
|
|
|
|
echo.
|
|
|
|
echo The Makefile is generated. Run 'nmake' to build SoftEther VPN.
|
|
|
|
) else (
|
|
|
|
cd ..
|
|
|
|
)
|