configure.cmd 902 B

123456789101112131415161718192021222324252627282930313233
  1. @echo off
  2. echo ---------------------------------------------------------------------
  3. echo SoftEther VPN for Windows
  4. echo.
  5. echo Copyright (c) SoftEther VPN Project at University of Tsukuba, Japan.
  6. echo Copyright (c) Daiyuu Nobori. All Rights Reserved.
  7. echo.
  8. echo This program is free software; you can redistribute it and/or
  9. echo modify it under the terms of the GNU General Public License
  10. echo version 2 as published by the Free Software Foundation.
  11. echo.
  12. echo Read and understand README.TXT, LICENSE.TXT and WARNING.TXT before use.
  13. echo ---------------------------------------------------------------------
  14. echo.
  15. echo Welcome to the corner-cutting configure script !
  16. echo.
  17. if not exist "tmp" (
  18. mkdir tmp
  19. )
  20. cd tmp
  21. cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -G "NMake Makefiles" ..
  22. if %errorlevel% == 0 (
  23. echo.
  24. echo The Makefile is generated. Run 'nmake' to build SoftEther VPN.
  25. ) else (
  26. cd ..
  27. )