|
9 | 9 | <Configuration>Release</Configuration> |
10 | 10 | <Platform>Win32</Platform> |
11 | 11 | </ProjectConfiguration> |
12 | | - <ProjectConfiguration Include="Debug|x64"> |
13 | | - <Configuration>Debug</Configuration> |
14 | | - <Platform>x64</Platform> |
15 | | - </ProjectConfiguration> |
16 | | - <ProjectConfiguration Include="Release|x64"> |
17 | | - <Configuration>Release</Configuration> |
18 | | - <Platform>x64</Platform> |
19 | | - </ProjectConfiguration> |
20 | 12 | </ItemGroup> |
21 | 13 | <PropertyGroup Label="Globals"> |
22 | 14 | <VCProjectVersion>16.0</VCProjectVersion> |
|
39 | 31 | <WholeProgramOptimization>true</WholeProgramOptimization> |
40 | 32 | <CharacterSet>Unicode</CharacterSet> |
41 | 33 | </PropertyGroup> |
42 | | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
43 | | - <ConfigurationType>DynamicLibrary</ConfigurationType> |
44 | | - <UseDebugLibraries>true</UseDebugLibraries> |
45 | | - <PlatformToolset>v142</PlatformToolset> |
46 | | - <CharacterSet>Unicode</CharacterSet> |
47 | | - </PropertyGroup> |
48 | | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
49 | | - <ConfigurationType>DynamicLibrary</ConfigurationType> |
50 | | - <UseDebugLibraries>false</UseDebugLibraries> |
51 | | - <PlatformToolset>v142</PlatformToolset> |
52 | | - <WholeProgramOptimization>true</WholeProgramOptimization> |
53 | | - <CharacterSet>Unicode</CharacterSet> |
54 | | - </PropertyGroup> |
55 | 34 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
56 | 35 | <ImportGroup Label="ExtensionSettings"> |
57 | 36 | </ImportGroup> |
|
63 | 42 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
64 | 43 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
65 | 44 | </ImportGroup> |
66 | | - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
67 | | - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
68 | | - </ImportGroup> |
69 | | - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
70 | | - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
71 | | - </ImportGroup> |
72 | 45 | <PropertyGroup Label="UserMacros" /> |
73 | 46 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
74 | 47 | <LinkIncremental>true</LinkIncremental> |
75 | 48 | </PropertyGroup> |
76 | 49 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
77 | 50 | <LinkIncremental>false</LinkIncremental> |
78 | 51 | <TargetName>chrome_elf</TargetName> |
79 | | - <IncludePath>detours\include;$(IncludePath)</IncludePath> |
80 | | - <LibraryPath>detours\libs\x86;$(LibraryPath)</LibraryPath> |
81 | | - </PropertyGroup> |
82 | | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
83 | | - <LinkIncremental>true</LinkIncremental> |
84 | | - </PropertyGroup> |
85 | | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
86 | | - <LinkIncremental>false</LinkIncremental> |
87 | 52 | </PropertyGroup> |
88 | 53 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
89 | 54 | <ClCompile> |
90 | 55 | <WarningLevel>Level3</WarningLevel> |
91 | 56 | <SDLCheck>true</SDLCheck> |
92 | 57 | <PreprocessorDefinitions>WIN32;_DEBUG;SPOTIFYINTERNAL_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
93 | 58 | <ConformanceMode>true</ConformanceMode> |
94 | | - <PrecompiledHeader>Use</PrecompiledHeader> |
95 | | - <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
| 59 | + <PrecompiledHeader>NotUsing</PrecompiledHeader> |
96 | 60 | </ClCompile> |
97 | 61 | <Link> |
98 | 62 | <SubSystem>Windows</SubSystem> |
99 | 63 | <GenerateDebugInformation>true</GenerateDebugInformation> |
100 | 64 | <EnableUAC>false</EnableUAC> |
| 65 | + <ModuleDefinitionFile>chrome_elf.def</ModuleDefinitionFile> |
101 | 66 | </Link> |
102 | 67 | </ItemDefinitionGroup> |
103 | 68 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
104 | | - <ClCompile> |
| 69 | + <ClCompile> |
105 | 70 | <WarningLevel>Level3</WarningLevel> |
| 71 | + <PrecompiledHeader>NotUsing</PrecompiledHeader> |
| 72 | + <Optimization>MaxSpeed</Optimization> |
106 | 73 | <FunctionLevelLinking>true</FunctionLevelLinking> |
107 | | - <IntrinsicFunctions>true</IntrinsicFunctions> |
108 | | - <SDLCheck>true</SDLCheck> |
109 | 74 | <PreprocessorDefinitions>WIN32;NDEBUG;SPOTIFYINTERNAL_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
110 | | - <ConformanceMode>Default</ConformanceMode> |
111 | | - <PrecompiledHeader>NotUsing</PrecompiledHeader> |
112 | | - <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
| 75 | + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
| 76 | + <DebugInformationFormat>None</DebugInformationFormat> |
| 77 | + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
| 78 | + <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> |
| 79 | + <ExceptionHandling>Sync</ExceptionHandling> |
| 80 | + <EnableParallelCodeGeneration>true</EnableParallelCodeGeneration> |
113 | 81 | <LanguageStandard>stdcpplatest</LanguageStandard> |
114 | | - <EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet> |
115 | 82 | </ClCompile> |
116 | 83 | <Link> |
117 | 84 | <SubSystem>Windows</SubSystem> |
118 | 85 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
119 | 86 | <OptimizeReferences>true</OptimizeReferences> |
120 | | - <GenerateDebugInformation>true</GenerateDebugInformation> |
121 | | - <EnableUAC>false</EnableUAC> |
122 | | - </Link> |
123 | | - </ItemDefinitionGroup> |
124 | | - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
125 | | - <ClCompile> |
126 | | - <WarningLevel>Level3</WarningLevel> |
127 | | - <SDLCheck>true</SDLCheck> |
128 | | - <PreprocessorDefinitions>_DEBUG;SPOTIFYINTERNAL_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
129 | | - <ConformanceMode>true</ConformanceMode> |
130 | | - <PrecompiledHeader>Use</PrecompiledHeader> |
131 | | - <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
132 | | - </ClCompile> |
133 | | - <Link> |
134 | | - <SubSystem>Windows</SubSystem> |
135 | | - <GenerateDebugInformation>true</GenerateDebugInformation> |
136 | | - <EnableUAC>false</EnableUAC> |
137 | | - </Link> |
138 | | - </ItemDefinitionGroup> |
139 | | - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
140 | | - <ClCompile> |
141 | | - <WarningLevel>Level3</WarningLevel> |
142 | | - <FunctionLevelLinking>true</FunctionLevelLinking> |
143 | | - <IntrinsicFunctions>true</IntrinsicFunctions> |
144 | | - <SDLCheck>true</SDLCheck> |
145 | | - <PreprocessorDefinitions>NDEBUG;SPOTIFYINTERNAL_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
146 | | - <ConformanceMode>true</ConformanceMode> |
147 | | - <PrecompiledHeader>Use</PrecompiledHeader> |
148 | | - <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
149 | | - </ClCompile> |
150 | | - <Link> |
151 | | - <SubSystem>Windows</SubSystem> |
152 | | - <EnableCOMDATFolding>true</EnableCOMDATFolding> |
153 | | - <OptimizeReferences>true</OptimizeReferences> |
154 | | - <GenerateDebugInformation>true</GenerateDebugInformation> |
155 | | - <EnableUAC>false</EnableUAC> |
| 87 | + <GenerateDebugInformation>false</GenerateDebugInformation> |
| 88 | + <ModuleDefinitionFile>chrome_elf.def</ModuleDefinitionFile> |
| 89 | + <IgnoreAllDefaultLibraries> |
| 90 | + </IgnoreAllDefaultLibraries> |
| 91 | + <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration> |
| 92 | + <RandomizedBaseAddress>true</RandomizedBaseAddress> |
| 93 | + <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers> |
| 94 | + <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
156 | 95 | </Link> |
157 | 96 | </ItemDefinitionGroup> |
158 | 97 | <ItemGroup> |
159 | 98 | <ClCompile Include="dllmain.cpp" /> |
160 | | - <ClCompile Include="Spotify.cpp" /> |
161 | | - <ClCompile Include="utils.cpp" /> |
| 99 | + <ClCompile Include="exports.cpp" /> |
162 | 100 | </ItemGroup> |
163 | 101 | <ItemGroup> |
164 | | - <ClInclude Include="detours\include\detours.h" /> |
165 | | - <ClInclude Include="detours\include\detver.h" /> |
166 | | - <ClInclude Include="detours\include\syelog.h" /> |
167 | | - <ClInclude Include="detours\include\uniHook.hpp" /> |
168 | | - <ClInclude Include="memory.hpp" /> |
169 | 102 | <ClInclude Include="resource.h" /> |
170 | | - <ClInclude Include="Spotify.hpp" /> |
171 | | - <ClInclude Include="utils.hpp" /> |
172 | 103 | </ItemGroup> |
173 | 104 | <ItemGroup> |
174 | 105 | <ResourceCompile Include="SpotifyInternal.rc" /> |
175 | 106 | </ItemGroup> |
| 107 | + <ItemGroup> |
| 108 | + <None Include="chrome_elf.def" /> |
| 109 | + </ItemGroup> |
176 | 110 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
177 | 111 | <ImportGroup Label="ExtensionTargets"> |
178 | 112 | </ImportGroup> |
|
0 commit comments