From 0d408cc812a094a708edbe4baf536e928731cfc3 Mon Sep 17 00:00:00 2001 From: yum Date: Sun, 1 Jan 2023 19:33:17 -0800 Subject: Statically link binary Update build instructions. --- GUI/GUI/GUI/GUI.vcxproj | 4 ++++ GUI/README.md | 12 ++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'GUI') diff --git a/GUI/GUI/GUI/GUI.vcxproj b/GUI/GUI/GUI/GUI.vcxproj index 8327365..976855d 100644 --- a/GUI/GUI/GUI/GUI.vcxproj +++ b/GUI/GUI/GUI/GUI.vcxproj @@ -81,6 +81,7 @@ WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true stdcpp20 + MultiThreaded Windows @@ -96,6 +97,7 @@ WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true stdcpp20 + MultiThreaded Windows @@ -111,6 +113,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true stdcpp20 + MultiThreaded Windows @@ -126,6 +129,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true stdcpp20 + MultiThreaded Windows diff --git a/GUI/README.md b/GUI/README.md index f8cc3a1..15862b7 100644 --- a/GUI/README.md +++ b/GUI/README.md @@ -8,12 +8,16 @@ $ git submodule update ``` 2. Execute Libraries/fetch.ps1. 3. Open Libraries/wx/build/msw/wx\_vc17.sln with Visual Studio 2022. -4. Build x64/Release. +4. Select every project in the Solution Explorer except for _custom_build. +5. Right click, select Properties, go to C/C++, Code Generation, and set + Runtime Library to Multi-threaded (/MT). Make sure this applies to the + configuration x64/Release. +6. Build x64/Release. 1. The build configuration is in the top. By default it's probably Debug/x64. 2. To build: ctrl+shift+B -5. Open GUI/GUI.sln with Visual Studio 2022. -6. Build x64/Release. -7. Run package.ps1 from powershell. +7. Open GUI/GUI.sln with Visual Studio 2022. +8. Build x64/Release. +9. Run package.ps1 from powershell. ## High level design -- cgit v1.2.3