Skip to content

Commit

Permalink
chore: 动态链接 CRT
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinue committed Mar 10, 2024
1 parent 06ca4e0 commit 69416af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/Common.Post.props
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<ClCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDll</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
Expand All @@ -81,14 +82,12 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDll</RuntimeLibrary>
</ClCompile>
<Link>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>

<!-- HybridCRT -->
<Import Project="$(MSBuildThisFileDirectory)HybridCRT.props" />
</Project>
2 changes: 1 addition & 1 deletion src/_ConanDeps/conanprofile.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[settings]
compiler=msvc
compiler.version=193
compiler.runtime=static
compiler.runtime=dynamic
compiler.cppstd=17
os=Windows

0 comments on commit 69416af

Please sign in to comment.