mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-09-20 02:09:25 +03:00
CMake: add support for Windows (Visual C++ 2017 toolset)
This commit is contained in:
33
configure.cmd
Normal file
33
configure.cmd
Normal file
@ -0,0 +1,33 @@
|
||||
@echo off
|
||||
|
||||
echo ---------------------------------------------------------------------
|
||||
echo SoftEther VPN for Windows
|
||||
echo.
|
||||
echo Copyright (c) SoftEther VPN Project at University of Tsukuba, Japan.
|
||||
echo Copyright (c) Daiyuu Nobori. All Rights Reserved.
|
||||
echo.
|
||||
echo This program is free software; you can redistribute it and/or
|
||||
echo modify it under the terms of the GNU General Public License
|
||||
echo version 2 as published by the Free Software Foundation.
|
||||
echo.
|
||||
echo Read and understand README.TXT, LICENSE.TXT and WARNING.TXT before use.
|
||||
echo ---------------------------------------------------------------------
|
||||
echo.
|
||||
|
||||
echo Welcome to the corner-cutting configure script !
|
||||
echo.
|
||||
|
||||
if not exist "tmp" (
|
||||
mkdir tmp
|
||||
)
|
||||
|
||||
cd tmp
|
||||
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" ..
|
||||
|
||||
if %errorlevel% == 0 (
|
||||
echo.
|
||||
echo The Makefile is generated. Run 'nmake' to build SoftEther VPN.
|
||||
) else (
|
||||
cd ..
|
||||
)
|
Reference in New Issue
Block a user