Skip to content

Commit 327c219

Browse files
authored
Add MATSDK_SHARED_LIB=1; for MIP and MSIPC props files to generate .lib file (#962)
* Fix generating .lib file * MSIPC
1 parent 8430b01 commit 327c219

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Solutions/build.MIP.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemDefinitionGroup>
44
<ClCompile>
5-
<PreprocessorDefinitions>%(PreprocessorDefinitions);CONFIG_CUSTOM_H="config-MIP.h"</PreprocessorDefinitions>
5+
<PreprocessorDefinitions>%(PreprocessorDefinitions);CONFIG_CUSTOM_H="config-MIP.h";MATSDK_SHARED_LIB=1;</PreprocessorDefinitions>
66
</ClCompile>
77
<Link>
88
<DelayLoadDLLs Condition="'$(Configuration)'=='Debug'">ucrtbased.dll; %(DelayLoadDLLs)</DelayLoadDLLs>

Solutions/build.MSIPC.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemDefinitionGroup>
44
<ClCompile>
5-
<PreprocessorDefinitions>%(PreprocessorDefinitions);CONFIG_CUSTOM_H="config-MSIPC.h"</PreprocessorDefinitions>
5+
<PreprocessorDefinitions>%(PreprocessorDefinitions);CONFIG_CUSTOM_H="config-MSIPC.h";MATSDK_SHARED_LIB=1;</PreprocessorDefinitions>
66
</ClCompile>
77
</ItemDefinitionGroup>
88
<PropertyGroup>

0 commit comments

Comments
 (0)