configure.cmd 756 B

123456789101112131415161718192021222324252627282930
  1. @echo off
  2. echo ---------------------------------------------------------------------
  3. echo SoftEther VPN for Windows
  4. echo.
  5. echo Copyright (c) all contributors on SoftEther VPN project in GitHub.
  6. echo Copyright (c) Daiyuu Nobori, SoftEther Project at University of Tsukuba, and SoftEther Corporation.
  7. echo.
  8. echo Read and understand README, LICENSE and WARNING before use.
  9. echo ---------------------------------------------------------------------
  10. echo.
  11. echo Welcome to the corner-cutting configure script !
  12. echo.
  13. if not exist "build" (
  14. mkdir build
  15. )
  16. cd build
  17. cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -G "NMake Makefiles" ..
  18. if %errorlevel% == 0 (
  19. echo.
  20. echo The Makefile is generated. Run 'nmake' to build SoftEther VPN.
  21. ) else (
  22. cd ..
  23. exit /b 1
  24. )