-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ build*/ | |
cmake-build*/ | ||
CMakerLists.txt | ||
CMakeLists.txt.user | ||
|
||
*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
@echo off | ||
|
||
REM change path to script direcotry | ||
%~d0 | ||
cd %~dp0 | ||
|
||
rmdir /S /Q build | ||
|
||
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=x64 -host_arch=x64 & cmake -S . -B build ./build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release & cmake --build ./build --clean-first --config Release --target pacific_drive_plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@echo off | ||
|
||
REM change path to script direcotry | ||
%~d0 | ||
cd %~dp0 | ||
|
||
REM mkdir is mkdir -p equivalent with extensions | ||
setlocal enableextensions | ||
|
||
mkdir build\Release\profile\plugins | ||
copy profile_template\* build\Release\profile | ||
copy build\Release\pacific_drive_plugin.dll build\Release\profile\plugins | ||
|
||
del /q PenDriverPro-Win64-Shipping.zip | ||
|
||
7z a PenDriverPro-Win64-Shipping.zip .\build\Release\profile\* |