1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Project DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3+ <ItemGroup Label =" ProjectConfigurations" >
4+ <ProjectConfiguration Include =" Debug|Win32" >
5+ <Configuration >Debug</Configuration >
6+ <Platform >Win32</Platform >
7+ </ProjectConfiguration >
8+ <ProjectConfiguration Include =" Release|Win32" >
9+ <Configuration >Release</Configuration >
10+ <Platform >Win32</Platform >
11+ </ProjectConfiguration >
12+ </ItemGroup >
13+ <PropertyGroup Label =" Globals" >
14+ <VCProjectVersion >17.0</VCProjectVersion >
15+ <Keyword >Win32Proj</Keyword >
16+ <ProjectGuid >{50012307-d3e2-46dc-985d-31c5b3ac86c3}</ProjectGuid >
17+ <RootNamespace >SporeModAPILegacy</RootNamespace >
18+ <WindowsTargetPlatformVersion >10.0</WindowsTargetPlatformVersion >
19+ </PropertyGroup >
20+ <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
21+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" Label =" Configuration" >
22+ <ConfigurationType >DynamicLibrary</ConfigurationType >
23+ <UseDebugLibraries >true</UseDebugLibraries >
24+ <PlatformToolset >v143</PlatformToolset >
25+ <CharacterSet >Unicode</CharacterSet >
26+ </PropertyGroup >
27+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
28+ <ConfigurationType >DynamicLibrary</ConfigurationType >
29+ <UseDebugLibraries >false</UseDebugLibraries >
30+ <PlatformToolset >v143</PlatformToolset >
31+ <WholeProgramOptimization >true</WholeProgramOptimization >
32+ <CharacterSet >Unicode</CharacterSet >
33+ </PropertyGroup >
34+ <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
35+ <ImportGroup Label =" ExtensionSettings" >
36+ </ImportGroup >
37+ <ImportGroup Label =" Shared" >
38+ </ImportGroup >
39+ <ImportGroup Label =" PropertySheets" Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >
40+ <Import Project =" $(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition =" exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label =" LocalAppDataPlatform" />
41+ </ImportGroup >
42+ <ImportGroup Label =" PropertySheets" Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >
43+ <Import Project =" $(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition =" exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label =" LocalAppDataPlatform" />
44+ </ImportGroup >
45+ <PropertyGroup Label =" UserMacros" />
46+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >
47+ <OutDir >..\legacydll\$(Configuration)\</OutDir >
48+ <IntDir >..\legacydll\</IntDir >
49+ </PropertyGroup >
50+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >
51+ <OutDir >..\legacydll\$(Configuration)\</OutDir >
52+ <IntDir >..\legacydll\</IntDir >
53+ </PropertyGroup >
54+ <ItemDefinitionGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >
55+ <ClCompile >
56+ <WarningLevel >Level3</WarningLevel >
57+ <SDLCheck >true</SDLCheck >
58+ <PreprocessorDefinitions >WIN32;_DEBUG;SPOREMODAPILEGACY_EXPORTS;_WINDOWS;_USRDLL;SDK_BUILD_VER=$(SDK_BUILD_VER);%(PreprocessorDefinitions)</PreprocessorDefinitions >
59+ <ConformanceMode >false</ConformanceMode >
60+ <PrecompiledHeader >NotUsing</PrecompiledHeader >
61+ <PrecompiledHeaderFile >pch.h</PrecompiledHeaderFile >
62+ <AdditionalIncludeDirectories >..\Spore ModAPI\;..\EASTL-3.02.01\include;..\EASTL-3.02.01\test\packages\EABase\include\Common;..\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories >
63+ </ClCompile >
64+ <Link >
65+ <SubSystem >Windows</SubSystem >
66+ <GenerateDebugInformation >true</GenerateDebugInformation >
67+ <EnableUAC >false</EnableUAC >
68+ <ModuleDefinitionFile >dllmain.def</ModuleDefinitionFile >
69+ <AdditionalDependencies >..\dll\$(Configuration)\SporeModAPI.lib;%(AdditionalDependencies)</AdditionalDependencies >
70+ </Link >
71+ <ResourceCompile >
72+ <PreprocessorDefinitions >SDK_BUILD_VER=$(SDK_BUILD_VER);%(PreprocessorDefinitions)</PreprocessorDefinitions >
73+ </ResourceCompile >
74+ </ItemDefinitionGroup >
75+ <ItemDefinitionGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >
76+ <ClCompile >
77+ <WarningLevel >Level3</WarningLevel >
78+ <FunctionLevelLinking >true</FunctionLevelLinking >
79+ <IntrinsicFunctions >true</IntrinsicFunctions >
80+ <SDLCheck >true</SDLCheck >
81+ <PreprocessorDefinitions >WIN32;NDEBUG;SPOREMODAPILEGACY_EXPORTS;_WINDOWS;_USRDLL;SDK_BUILD_VER=$(SDK_BUILD_VER);%(PreprocessorDefinitions)</PreprocessorDefinitions >
82+ <ConformanceMode >false</ConformanceMode >
83+ <PrecompiledHeader >NotUsing</PrecompiledHeader >
84+ <PrecompiledHeaderFile >pch.h</PrecompiledHeaderFile >
85+ <AdditionalIncludeDirectories >..\Spore ModAPI\;..\EASTL-3.02.01\include;..\EASTL-3.02.01\test\packages\EABase\include\Common;..\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories >
86+ </ClCompile >
87+ <Link >
88+ <SubSystem >Windows</SubSystem >
89+ <EnableCOMDATFolding >true</EnableCOMDATFolding >
90+ <OptimizeReferences >true</OptimizeReferences >
91+ <GenerateDebugInformation >true</GenerateDebugInformation >
92+ <EnableUAC >false</EnableUAC >
93+ <ModuleDefinitionFile >dllmain.def</ModuleDefinitionFile >
94+ <AdditionalDependencies >..\dll\$(Configuration)\SporeModAPI.lib;%(AdditionalDependencies)</AdditionalDependencies >
95+ </Link >
96+ <ResourceCompile >
97+ <PreprocessorDefinitions >SDK_BUILD_VER=$(SDK_BUILD_VER);%(PreprocessorDefinitions)</PreprocessorDefinitions >
98+ </ResourceCompile >
99+ </ItemDefinitionGroup >
100+ <ItemGroup >
101+ <None Include =" dllmain.def" />
102+ </ItemGroup >
103+ <ItemGroup >
104+ <ClCompile Include =" dllmain.cpp" />
105+ </ItemGroup >
106+ <ItemGroup >
107+ <ClInclude Include =" resource.h" />
108+ </ItemGroup >
109+ <ItemGroup >
110+ <ResourceCompile Include =" VersionInfo.rc" />
111+ </ItemGroup >
112+ <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.targets" />
113+ <ImportGroup Label =" ExtensionTargets" >
114+ </ImportGroup >
115+ <Target Name =" BuildLegacyDlls" >
116+ <Message Text =" Compiling $(Config) DLL, build $(BuildVer)..." />
117+ <Exec Command =" msbuild.exe /p:Configuration=$(Config) /p:Platform=$(Platform) /p:SDK_BUILD_VER=$(BuildVer)" />
118+ <Copy SourceFiles =" ../legacydll/$(Config)/Spore ModAPI Legacy.dll" DestinationFiles =" ../legacydll/$(Config)/SporeModAPI-steam_patched.dll" />
119+ <Copy SourceFiles =" ../legacydll/$(Config)/Spore ModAPI Legacy.dll" DestinationFiles =" ../legacydll/$(Config)/SporeModAPI-disk.dll" />
120+ </Target >
121+ </Project >
0 commit comments