Skip to content

Commit

Permalink
Update windows build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
abique committed Sep 23, 2024
1 parent cd404e9 commit 3bbadec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ Reference: https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-pa

Install **Visual Studio 2022**; you can install it from the **Microsoft Store**. It can also install **git** and **CMake** for you.

Use the following command inside `git-bash`:
```git-bash
Use the following command inside `Powershell`:
```ps1
# Checkout the code very close to the root to avoid windows long path issues...
cd c:\
git clone --recurse-submodules https://github.com/free-audio/clap-plugins c-p
cd c-p
scripts/build-gui.sh
Powershell.exe -noexit -executionpolicy bypass -File .\scripts\build-gui.ps1
```

## Linux, using vcpkg (static)
Expand Down
3 changes: 3 additions & 0 deletions scripts/build-gui.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vcpkg/vcpkg --overlay-triplets=vcpkg-overlay/triplets install --triplet x64-win-cp --host-triplet x64-win-cp '--x-buildtrees-root=C:\B' --allow-unsupported --recurse --clean-after-build 'qtbase[core,png,brotli,zstd,doubleconversion,gui,concurrent,appstore-compliant,network,freetype,testlib,freetype]' qtdeclarative
cmake --preset $cmake_preset $cmake_options -DCLAP_PLUGIN_GUI_MODEL=$gui_model
cmake --build --preset $cmake_preset --config Release --target clap-plugins
2 changes: 1 addition & 1 deletion vcpkg
Submodule vcpkg updated 93 files
+1 −0 ports/aliyun-oss-cpp-sdk/portfile.cmake
+1 −1 ports/aliyun-oss-cpp-sdk/vcpkg.json
+1 −1 ports/atomic-queue/portfile.cmake
+1 −1 ports/atomic-queue/vcpkg.json
+1 −1 ports/aws-c-auth/portfile.cmake
+1 −1 ports/aws-c-auth/vcpkg.json
+1 −1 ports/aws-c-cal/portfile.cmake
+1 −1 ports/aws-c-cal/vcpkg.json
+1 −1 ports/aws-c-common/portfile.cmake
+1 −1 ports/aws-c-common/vcpkg.json
+1 −1 ports/aws-c-compression/portfile.cmake
+1 −1 ports/aws-c-compression/vcpkg.json
+1 −1 ports/aws-c-event-stream/portfile.cmake
+1 −1 ports/aws-c-event-stream/vcpkg.json
+1 −1 ports/aws-c-http/portfile.cmake
+1 −1 ports/aws-c-http/vcpkg.json
+1 −1 ports/aws-c-s3/portfile.cmake
+1 −1 ports/aws-c-s3/vcpkg.json
+1 −1 ports/aws-c-sdkutils/portfile.cmake
+1 −1 ports/aws-c-sdkutils/vcpkg.json
+1 −1 ports/aws-checksums/portfile.cmake
+1 −1 ports/aws-checksums/vcpkg.json
+1 −1 ports/aws-crt-cpp/portfile.cmake
+1 −1 ports/aws-crt-cpp/vcpkg.json
+1 −1 ports/aws-sdk-cpp/portfile.cmake
+1 −1 ports/aws-sdk-cpp/vcpkg.json
+1 −1 ports/blosc/portfile.cmake
+1 −1 ports/blosc/vcpkg.json
+0 −16 ports/clblast/fix_install_path.patch
+1 −3 ports/clblast/portfile.cmake
+1 −1 ports/clblast/vcpkg.json
+1 −1 ports/dpp/portfile.cmake
+1 −1 ports/dpp/vcpkg.json
+11 −3 ports/fast-double-parser/portfile.cmake
+12 −2 ports/fast-double-parser/vcpkg.json
+1 −1 ports/glaze/portfile.cmake
+1 −1 ports/glaze/vcpkg.json
+1 −1 ports/gtl/portfile.cmake
+1 −1 ports/gtl/vcpkg.json
+0 −15 ports/jsoncpp/cmake-target.diff
+1 −3 ports/jsoncpp/portfile.cmake
+1 −2 ports/jsoncpp/vcpkg.json
+33 −0 ports/jwt-cpp/external-json.diff
+13 −3 ports/jwt-cpp/portfile.cmake
+11 −1 ports/jwt-cpp/vcpkg.json
+1 −1 ports/libbson/portfile.cmake
+1 −1 ports/libbson/vcpkg.json
+1 −1 ports/llhttp/portfile.cmake
+1 −1 ports/llhttp/vcpkg.json
+7 −7 ports/mariadb-connector-cpp/libmariadb.diff
+1 −1 ports/mariadb-connector-cpp/portfile.cmake
+1 −1 ports/mariadb-connector-cpp/vcpkg.json
+1 −1 ports/mongo-c-driver/portfile.cmake
+1 −1 ports/mongo-c-driver/vcpkg.json
+1 −1 ports/openal-soft/portfile.cmake
+1 −1 ports/openal-soft/vcpkg.json
+1 −1 ports/pcapplusplus/portfile.cmake
+2 −2 ports/pcapplusplus/vcpkg.json
+1 −1 ports/simsimd/portfile.cmake
+1 −1 ports/simsimd/vcpkg.json
+8 −0 ports/xsimd/portfile.cmake
+1 −0 ports/xsimd/vcpkg.json
+5 −5 scripts/vcpkg-tool-metadata.txt
+5 −0 versions/a-/aliyun-oss-cpp-sdk.json
+5 −0 versions/a-/atomic-queue.json
+5 −0 versions/a-/aws-c-auth.json
+5 −0 versions/a-/aws-c-cal.json
+5 −0 versions/a-/aws-c-common.json
+5 −0 versions/a-/aws-c-compression.json
+5 −0 versions/a-/aws-c-event-stream.json
+5 −0 versions/a-/aws-c-http.json
+5 −0 versions/a-/aws-c-s3.json
+5 −0 versions/a-/aws-c-sdkutils.json
+5 −0 versions/a-/aws-checksums.json
+5 −0 versions/a-/aws-crt-cpp.json
+5 −0 versions/a-/aws-sdk-cpp.json
+5 −0 versions/b-/blosc.json
+31 −31 versions/baseline.json
+5 −0 versions/c-/clblast.json
+5 −0 versions/d-/dpp.json
+5 −0 versions/f-/fast-double-parser.json
+5 −0 versions/g-/glaze.json
+5 −0 versions/g-/gtl.json
+5 −0 versions/j-/jsoncpp.json
+5 −0 versions/j-/jwt-cpp.json
+5 −0 versions/l-/libbson.json
+5 −0 versions/l-/llhttp.json
+5 −0 versions/m-/mariadb-connector-cpp.json
+5 −0 versions/m-/mongo-c-driver.json
+5 −0 versions/o-/openal-soft.json
+5 −0 versions/p-/pcapplusplus.json
+5 −0 versions/s-/simsimd.json
+5 −0 versions/x-/xsimd.json

0 comments on commit 3bbadec

Please sign in to comment.