Skip to content

Commit

Permalink
link to hybrid CRT (#44)
Browse files Browse the repository at this point in the history
* link to hybrid CRT

* debug has different lib names
  • Loading branch information
mtfriesen authored Nov 14, 2024
1 parent 2c38ace commit 3406262
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions vs/windows.undocked.props
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,11 @@
<!-- Debug/Release related definitions -->
<ClCompile Condition="'$(Configuration)'=='Debug'">
<PreprocessorDefinitions>DBG;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<ClCompile Condition="'$(Configuration)'=='Release'">
<PreprocessorDefinitions>NDEBUG;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem Condition="'$(UndockedType)' == 'exe'">Console</SubSystem>
Expand Down Expand Up @@ -329,7 +330,6 @@
/guard:export
/guard:longjmp
/guard:mixed
/NODEFAULTLIB:libucrt.lib
/NOVCFEATURE
/OPT:ICF
/OPT:REF
Expand Down Expand Up @@ -375,6 +375,22 @@
/highentropyva
%(AdditionalOptions)
</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)'=='Debug'">
%(AdditionalOptions)
/DEFAULTLIB:ucrtd.lib
</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)'=='Release'">
%(AdditionalOptions)
/DEFAULTLIB:ucrt.lib
</AdditionalOptions>
<IgnoreSpecificDefaultLibraries Condition="'$(Configuration)'=='Debug'">
%(IgnoreSpecificDefaultLibraries);
libucrtd.lib
</IgnoreSpecificDefaultLibraries>
<IgnoreSpecificDefaultLibraries Condition="'$(Configuration)'=='Release'">
%(IgnoreSpecificDefaultLibraries);
libucrt.lib
</IgnoreSpecificDefaultLibraries>
</Link>
</ItemDefinitionGroup>
<!-- Enable retpoline for MASM in official builds - template does not currently set this -->
Expand Down

0 comments on commit 3406262

Please sign in to comment.