/
githubmirror
/
libpsl
Обзор
Документация
Войти
/
githubmirror
/
libpsl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
msvc/create-lists.bat
42 строки
805 B
Chun-wei Fan
Add NMake Makefiles for Visual Studio builds
26 апр 2018, 12:09
26 апр 2018, 12:09
6a5da68
Код
Авторство
О чём код?
@echo off rem Simple .bat script for creating the NMake Makefile snippets. if not "%1" == "header" if not "%1" == "file" if not "%1" == "footer" goto :error_cmd if "%2" == "" goto error_no_destfile if "%1" == "header" goto :header if "%1" == "file" goto :addfile if "%1" == "footer" goto :footer :header if "%3" == "" goto error_var echo %3 = \>>%2 goto done :addfile if "%3" == "" goto error_file echo. %3 \>>%2 goto done :footer echo. $(NULL)>>%2 echo.>>%2 goto done :error_cmd echo Specified command '%1' was invalid. Valid commands are: header file footer. goto done :error_no_destfile echo Destination NMake snippet file must be specified goto done :error_var echo A name must be specified for using '%1'. goto done :error_file echo A file must be specified for using '%1'. goto done :done