Fix building on Windows/MSVC
This commit is contained in:
parent
888a7a9962
commit
d7c78e5d65
@ -105,6 +105,7 @@
|
||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
@ -120,12 +121,16 @@
|
||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
@ -143,6 +148,7 @@
|
||||
<ClInclude Include="render_pattern.h" />
|
||||
<ClInclude Include="render_util.h" />
|
||||
<ClInclude Include="types.h" />
|
||||
<ClInclude Include="ui.h" />
|
||||
<ClInclude Include="util\assert.h" />
|
||||
<ClInclude Include="util\minmax.h" />
|
||||
<ClInclude Include="util\queue.h" />
|
||||
@ -175,6 +181,11 @@
|
||||
<ClCompile Include="render_pattern.c" />
|
||||
<ClCompile Include="render_util.cpp" />
|
||||
<ClCompile Include="types.c" />
|
||||
<ClCompile Include="ui.c" />
|
||||
<ClCompile Include="ui_action.c" />
|
||||
<ClCompile Include="ui_build.c" />
|
||||
<ClCompile Include="ui_button.c" />
|
||||
<ClCompile Include="ui_render.cpp" />
|
||||
<ClCompile Include="util\queue.c" />
|
||||
<ClCompile Include="util\rand.c" />
|
||||
<ClCompile Include="util\tree.c" />
|
||||
|
@ -81,6 +81,9 @@
|
||||
<ClInclude Include="gametime.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="ui.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="util\queue.c">
|
||||
@ -164,5 +167,20 @@
|
||||
<ClCompile Include="app_file.c">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="ui.c">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="ui_action.c">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="ui_build.c">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="ui_button.c">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="ui_render.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user