Skip to content

Commit

Permalink
Parameterize and note some stuff in sdk build script
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Sep 26, 2018
1 parent f2de5ad commit 2a1edb1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build_sdk.bat
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
@echo off
set SDKFILENAME=npcap-sdk-0.1.zip

if "%2"== "" ( rd /s/q ./npcap-sdk 2>nul >nul) else ( rd /s /q "%2" 2>nul >nul)

rem Requires Cygwin to provide make.exe
call create_include.bat %1 %2

call create_lib.bat %1 %2

call create_examples.bat %1 %2

rem Requires xsltproc and Docbook XSL stylesheets
call create_docs.bat %1 %2

"C:\Program Files\7-Zip\7z.exe" a installer\npcap-sdk-0.07.zip .\npcap-sdk
del %SDKFILENAME%
"C:\Program Files\7-Zip\7z.exe" a %SDKFILENAME% .\npcap-sdk
PAUSE

0 comments on commit 2a1edb1

Please sign in to comment.