Skip to content

Commit

Permalink
CI: fix file path in windows build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
malloch committed Jul 21, 2024
1 parent f2979d6 commit aabe2e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.19)
# Replace with your own global paths before building and modify build directories if different from below
set(BUILD_DIR "${CMAKE_CURRENT_SOURCE_DIR}/build")
set(LIBMAPPER_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/include")
set(LIBLO_DIR "${BUILD_DIR}/liblo")
set(LIBLO_DIR "${BUILD_DIR}/liblo/liblo-0.32")
set(LIBLO_BUILD_DIR "${LIBLO_DIR}/cmake/build/Release")
set(ZLIB_DIR "${BUILD_DIR}/zlib/msvc2017_64")
set(ZLIB_BUILD_DIR "${ZLIB_DIR}/lib/zlib")
Expand Down
4 changes: 2 additions & 2 deletions windows_build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if (!(Test-Path "$($scriptDir)\build\liblo\")) {
Invoke-WebRequest https://github.com/radarsat1/liblo/archive/refs/tags/0.32.zip -OutFile liblo.zip
Expand-Archive liblo.zip liblo
rm liblo.zip
cd liblo\cmake\
cd liblo\liblo-0.32\cmake\
(gc config-msvc.h.in) -replace '#define HAVE_UNISTD_H', '//#define HAVE_UNISTD_H' | Out-File -encoding ASCII config-msvc.h.in
mkdir build
cd build\
Expand All @@ -34,7 +34,7 @@ if (!(Test-Path "$($scriptDir)\dist\")) {
}
# Copy dlls to /dist
cp -v ./build/Release/libmapper.dll ./dist/libmapper.dll
cp -v ./build/liblo/cmake/build/Release/liblo.dll ./dist/liblo.dll
cp -v ./build/liblo/liblo-0.32/cmake/build/Release/liblo.dll ./dist/liblo.dll
cp -v ./build/zlib/msvc2017_64/lib/zlib/zlib.dll ./dist/zlib.dll
# Copy test files
cp -v ./build/test/Release/* ./dist/tests
Expand Down

0 comments on commit aabe2e2

Please sign in to comment.