Enable websockets on windows build

This commit is contained in:
Roger A. Light
2024-04-27 16:51:51 +01:00
parent a3e5deb952
commit 5a513ecacd
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
github-binarycache: true
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWITH_TESTS=OFF -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-release -DVCPKG_MANIFEST_MODE=ON
run: cmake -B ${{github.workspace}}/build64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWITH_LIBWEBSOCKETS=ON -DWITH_TESTS=OFF -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-release -DVCPKG_MANIFEST_MODE=ON
- name: Build
run: cmake --build ${{github.workspace}}/build64 --config ${{env.BUILD_TYPE}}
+6
View File
@@ -67,6 +67,9 @@ Section "Files" SecInstall
File "..\build64\vcpkg_installed\x64-windows-release\bin\libcrypto-3-x64.dll"
File "..\build64\vcpkg_installed\x64-windows-release\bin\libssl-3-x64.dll"
File "..\build64\vcpkg_installed\x64-windows-release\bin\pthreadVC3.dll"
File "..\build64\vcpkg_installed\x64-windows-release\bin\uv.dll"
File "..\build64\vcpkg_installed\x64-windows-release\bin\websockets.dll"
File "..\build64\vcpkg_installed\x64-windows-release\bin\zlib.dll"
SetOutPath "$INSTDIR\devel"
File "..\build64\lib\Release\mosquitto.lib"
@@ -129,6 +132,9 @@ Section "Uninstall"
Delete "$INSTDIR\libcrypto-3-x64.dll"
Delete "$INSTDIR\libssl-3-x64.dll"
Delete "$INSTDIR\pthreadVC3.dll"
Delete "$INSTDIR\uv.dll"
Delete "$INSTDIR\websockets.dll"
Delete "$INSTDIR\zlib.dll"
Delete "$INSTDIR\devel\mosquitto.h"
Delete "$INSTDIR\devel\mosquitto_broker.h"