Skip to content

Commit

Permalink
Work around output path differences between x86 and x64 for rubberband.
Browse files Browse the repository at this point in the history
  • Loading branch information
rryan committed Dec 25, 2016
1 parent c99e3d5 commit caf8595
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions build_rubberband.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ set RUBBERBAND_PATH=rubberband-1.8.1
SET VALRETURN=0

if %MACHINE_X86% (
set PLATFORM=Win32
set PLATFORM=x86
set OUTPUT_PLATFORM=Win32
) else (
set PLATFORM=x64
set OUTPUT_PLATFORM=x64
)

if %CONFIG_RELEASE% (
Expand All @@ -30,9 +32,11 @@ IF ERRORLEVEL 1 (
goto END
)

copy %PLATFORM%\%CONFIG%\rubberband.lib %LIB_DIR%
copy %PLATFORM%\%CONFIG%\rubberband.dll %LIB_DIR%
copy %PLATFORM%\%CONFIG%\rubberband.pdb %LIB_DIR%
copy %OUTPUT_PLATFORM%\%CONFIG%\rubberband.lib %LIB_DIR%
copy %OUTPUT_PLATFORM%\%CONFIG%\rubberband.pdb %LIB_DIR%
if NOT %STATIC_LIBS% (
copy %OUTPUT_PLATFORM%\%CONFIG%\rubberband.dll %LIB_DIR%
)
md %INCLUDE_DIR%\rubberband
copy rubberband\*.h %INCLUDE_DIR%\rubberband\

Expand Down

0 comments on commit caf8595

Please sign in to comment.