@@ -87,13 +87,11 @@ del /f /q $(OutDir)\licenses\libmodplug.txt
8787 <ItemDefinitionGroup Condition =" '$(Configuration)|$(Platform)'=='DebugDLLWinRT|Win32'" >
8888 <ClCompile >
8989 <AdditionalIncludeDirectories >.\;..\src\libmodplug;..\src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories >
90- <PreprocessorDefinitions >MODPLUG_BUILD;HAVE_CONFIG_H;MODPLUG_NO_FILESAVE;%(PreprocessorDefinitions)</PreprocessorDefinitions >
90+ <PreprocessorDefinitions >MODPLUG_BUILD;HAVE_CONFIG_H;MODPLUG_NO_FILESAVE;DLL_EXPORT; %(PreprocessorDefinitions)</PreprocessorDefinitions >
9191 <Cpp0xSupport >true</Cpp0xSupport >
9292 <DisableSpecificWarnings >4996;4018;4244;4005;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings >
9393 </ClCompile >
94- <Link >
95- <ModuleDefinitionFile >libmodplug.def</ModuleDefinitionFile >
96- </Link >
94+ <Link />
9795 <PostBuildEvent >
9896 <Command >mkdir "$(OutDir)"\include
9997mkdir "$(OutDir)"\include\libmodplug
@@ -128,13 +126,11 @@ del /f /q $(OutDir)\licenses\libmodplug.txt
128126 <ItemDefinitionGroup Condition =" '$(Configuration)|$(Platform)'=='DebugDLLWinRT|x64'" >
129127 <ClCompile >
130128 <AdditionalIncludeDirectories >.\;..\src\libmodplug;..\src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories >
131- <PreprocessorDefinitions >MODPLUG_BUILD;HAVE_CONFIG_H;MODPLUG_NO_FILESAVE;%(PreprocessorDefinitions)</PreprocessorDefinitions >
129+ <PreprocessorDefinitions >MODPLUG_BUILD;HAVE_CONFIG_H;MODPLUG_NO_FILESAVE;DLL_EXPORT; %(PreprocessorDefinitions)</PreprocessorDefinitions >
132130 <Cpp0xSupport >true</Cpp0xSupport >
133131 <DisableSpecificWarnings >4996;4018;4244;4005;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings >
134132 </ClCompile >
135- <Link >
136- <ModuleDefinitionFile >libmodplug.def</ModuleDefinitionFile >
137- </Link >
133+ <Link />
138134 <PostBuildEvent >
139135 <Command >mkdir "$(OutDir)"\include
140136mkdir "$(OutDir)"\include\libmodplug
@@ -244,14 +240,12 @@ del /f /q $(OutDir)\licenses\libmodplug.txt
244240 <ItemDefinitionGroup Condition =" '$(Configuration)|$(Platform)'=='ReleaseDLLWinRT|Win32'" >
245241 <ClCompile >
246242 <AdditionalIncludeDirectories >.\;..\src\libmodplug;..\src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories >
247- <PreprocessorDefinitions >MODPLUG_BUILD;HAVE_CONFIG_H;MODPLUG_NO_FILESAVE;%(PreprocessorDefinitions)</PreprocessorDefinitions >
243+ <PreprocessorDefinitions >MODPLUG_BUILD;HAVE_CONFIG_H;MODPLUG_NO_FILESAVE;DLL_EXPORT; %(PreprocessorDefinitions)</PreprocessorDefinitions >
248244 <OptimizeForWindowsApplication >true</OptimizeForWindowsApplication >
249245 <Cpp0xSupport >true</Cpp0xSupport >
250246 <DisableSpecificWarnings >4996;4018;4244;4005;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings >
251247 </ClCompile >
252- <Link >
253- <ModuleDefinitionFile >libmodplug.def</ModuleDefinitionFile >
254- </Link >
248+ <Link />
255249 <PostBuildEvent >
256250 <Command >mkdir "$(OutDir)"\include
257251mkdir "$(OutDir)"\include\libmodplug
@@ -286,13 +280,11 @@ del /f /q $(OutDir)\licenses\libmodplug.txt
286280 <ItemDefinitionGroup Condition =" '$(Configuration)|$(Platform)'=='ReleaseDLLWinRT|x64'" >
287281 <ClCompile >
288282 <AdditionalIncludeDirectories >.\;..\src\libmodplug;..\src\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories >
289- <PreprocessorDefinitions >MODPLUG_BUILD;HAVE_CONFIG_H;MODPLUG_NO_FILESAVE;%(PreprocessorDefinitions)</PreprocessorDefinitions >
283+ <PreprocessorDefinitions >MODPLUG_BUILD;HAVE_CONFIG_H;MODPLUG_NO_FILESAVE;DLL_EXPORT; %(PreprocessorDefinitions)</PreprocessorDefinitions >
290284 <Cpp0xSupport >true</Cpp0xSupport >
291285 <DisableSpecificWarnings >4996;4018;4244;4005;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings >
292286 </ClCompile >
293- <Link >
294- <ModuleDefinitionFile >libmodplug.def</ModuleDefinitionFile >
295- </Link >
287+ <Link />
296288 <PostBuildEvent >
297289 <Command >mkdir "$(OutDir)"\include
298290mkdir "$(OutDir)"\include\libmodplug
0 commit comments