From 04fb482e5c2d312738bd7a8ef329c7826507e42a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hermann=20H=C3=B6hne?= Date: Tue, 6 Aug 2024 18:57:50 +0200 Subject: [PATCH] Mention `-DCMAKE_GENERATOR_PLATFORM=WIN32`. --- README.md | 6 +++--- submodules/purple-cmake | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a891f47..16a3d38 100755 --- a/README.md +++ b/README.md @@ -95,18 +95,18 @@ Same as Linux build instructions, but may need to modify the configuration: 1. Generate project: - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE="…/vcpkg/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x86-windows-static -DRust_CARGO_TARGET="i686-pc-windows-msvc" .. + cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_GENERATOR_PLATFORM=WIN32 -DCMAKE_TOOLCHAIN_FILE="…/vcpkg/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x86-windows-static -DRust_CARGO_TARGET="i686-pc-windows-msvc" .. If necessary, the rust tool-chain version can be specified via `-DRust_TOOLCHAIN="1.75-i686-pc-windows-msvc"`. 2. Build, Install and Run: cmake --build . - cmake --install . + cmake --install . --config Debug cmake --build . --target run #### Notes purple-presage must be built with MSVC. MinGW's GCC encountered a number of issues such as [incompatibility with rustc versions newer than 1.69](https://github.com/rust-lang/rust/issues/112368) and not shipping libbcrypt by default. -Needs a whooping 6 GB of disk space during build! :o +Needs a whooping 6 GB of disk space during build! 😳 diff --git a/submodules/purple-cmake b/submodules/purple-cmake index c3aa543..bd68bdc 160000 --- a/submodules/purple-cmake +++ b/submodules/purple-cmake @@ -1 +1 @@ -Subproject commit c3aa543a79b4b1569e96f4167b218cd0cac2e748 +Subproject commit bd68bdc60d457e4d52a47cd7b6c2a866a16feb86