4 Star 17 Fork 3

leo / WSL-Launcher

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mk.bat 932 Bytes
一键复制 编辑 原始数据 按行查看 历史
leo 提交于 2018-09-17 20:48 . v1.2
@setlocal
@echo off
@if "%1"=="-h" goto :USAGE
@if "%1"=="--help" goto :USAGE
@if "%1"=="help" goto :USAGE
@if not exist build mkdir build
@if not exist build\objs mkdir build\objs
@set CXX=cl -c -O2 -MD -nologo -DUNICODE -D_UNICODE -DNDEBUG -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -EHsc
@set RES=rc -nologo
@set LD=link -nologo -dynamicbase -nxcompat -libpath:curl\lib libcurl.lib ws2_32.lib wldap32.lib advapi32.lib crypt32.lib normaliz.lib
@%CXX% -Fobuild\objs\Api.cc.obj Api.cc
@%CXX% -Fobuild\objs\Json.cc.obj Json.cc
@%CXX% -Fobuild\objs\Launcher.cc.obj Launcher.cc
@%RES% -Fobuild\objs\Launcher.rc.obj Launcher.rc
@%LD% -out:build\launcher.exe build\objs\*.obj
@goto :END
:USAGE
@echo Usage : mk name [repo]
@echo.
@echo Build launcher for WSL distribution
@echo.
@echo Options:
@echo name Name for custom WSL distribution
@echo repo Optional. Custom repo for get rootfs image from Docker Hub.
@echo.
:END
C++
1
https://gitee.com/love_linger/WSL-Launcher.git
git@gitee.com:love_linger/WSL-Launcher.git
love_linger
WSL-Launcher
WSL-Launcher
master

搜索帮助