diff options
| author | yum <yum.food.vr@gmail.com> | 2023-01-01 19:33:17 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-01-01 19:33:17 -0800 |
| commit | 0d408cc812a094a708edbe4baf536e928731cfc3 (patch) | |
| tree | daaed50db6d0f44fb37c1798a2df4bb486f51bf5 /GUI | |
| parent | edc199f99cb7eaa9d4972dd40a8aafd1ebbf7c90 (diff) | |
Statically link binary
Update build instructions.
Diffstat (limited to 'GUI')
| -rw-r--r-- | GUI/GUI/GUI/GUI.vcxproj | 4 | ||||
| -rw-r--r-- | GUI/README.md | 12 |
2 files changed, 12 insertions, 4 deletions
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 @@ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp20</LanguageStandard>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -96,6 +97,7 @@ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp20</LanguageStandard>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -111,6 +113,7 @@ <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp20</LanguageStandard>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -126,6 +129,7 @@ <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp20</LanguageStandard>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
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 |
