Skip to content

Commit

Permalink
use semantic version. Add helper scripts for windows - copy_and_pack.…
Browse files Browse the repository at this point in the history
…bat and create_solutions.bat
  • Loading branch information
RevenantX committed Jun 3, 2024
1 parent 5e6abf2 commit 9aeb2ff
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -262,3 +262,5 @@ __pycache__/

# CMake staging builds
build*/
pack
foo_cuefixer.fb2k-component
13 changes: 13 additions & 0 deletions copy_and_pack.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@echo off
rem change directory to bat file path
cd %~dp0
mkdir pack
mkdir pack\arm64
mkdir pack\x64
copy buildarm64\src\Release\foo_cuefixer.dll pack\arm64\
copy build64\src\Release\foo_cuefixer.dll pack\x64\
copy build32\src\Release\foo_cuefixer.dll pack\
cd pack
"C:\Program Files\7-Zip\7z.exe" a -mx9 -tzip ..\foo_cuefixer.fb2k-component *
cd ..
pause
13 changes: 13 additions & 0 deletions create_solutions.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@echo off
rem change to your path
set sdk_path="E:\Projects\foobar2000sdk\SDK-2023-09-23"
cd %~dp0
mkdir build32
mkdir build64
mkdir buildarm64
cd build32
cmake .. -AWin32 -Dfoobar2000sdk=%sdk_path%
cd ..\build64
cmake .. -Ax64 -Dfoobar2000sdk=%sdk_path%
cd ..\buildarm64
cmake .. -AARM64 -Dfoobar2000sdk=%sdk_path%
2 changes: 1 addition & 1 deletion src/foo_cuefixer.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <SDK/foobar2000.h>

DECLARE_COMPONENT_VERSION("CUE fixer", "1.32", "CUE Fixer by RevenantX");
DECLARE_COMPONENT_VERSION("CUE fixer", "1.3.2", "CUE Fixer by RevenantX");
VALIDATE_COMPONENT_FILENAME("foo_cuefixer.dll");

class playlist_cuefixer : public playlist_callback_static
Expand Down

0 comments on commit 9aeb2ff

Please sign in to comment.