mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
04e3376d5a
The msvcr110.dll and msvcp110.dll libraries are now included in the installer and extracted to InstallDir\Runtime\. The VC++ 2012 redistributable package is no longer downloaded and installed. Rainmeter.exe will first try to load Rainmeter.dll normally. If it fails, it will retry after loading Runtime\msvcp110.dll. This means that our copy of the runtimes will be used only if the system copy is either not present or somehow invalid. See Building.md for updated build instructions.
146 lines
6.3 KiB
XML
146 lines
6.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(SolutionDir)\Project.props" />
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{D2A0903C-E760-4134-AE61-3D55BF8F760C}</ProjectGuid>
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<TargetName>Rainmeter</TargetName>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<Import Project="$(SolutionDir)\Rainmeter.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<DisableSpecificWarnings>4018;4090;4114;4267;4351;4786;4800;4996</DisableSpecificWarnings>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Windows</SubSystem>
|
|
<EntryPointSymbol>wWinMainCRTStartup</EntryPointSymbol>
|
|
<DelayLoadDLLs>
|
|
</DelayLoadDLLs>
|
|
<AdditionalDependencies>Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
<PostBuildEvent>
|
|
<Command>if exist ..\testbench\x32\debug\Skins goto skip
|
|
mkdir ..\testbench\x32\debug\Skins
|
|
if not exist ..\testbench\x32\debug\Layouts (mkdir ..\testbench\x32\debug\Layouts)
|
|
echo "Copying skins..."
|
|
xcopy /Q /S /Y ..\Build\Skins ..\testbench\x32\debug\Skins
|
|
xcopy /Q /S /Y ..\Build\Themes ..\testbench\x32\debug\Layouts
|
|
:skip</Command>
|
|
</PostBuildEvent>
|
|
<Manifest>
|
|
<AdditionalManifestFiles>Application.manifest</AdditionalManifestFiles>
|
|
</Manifest>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<ClCompile>
|
|
<DisableSpecificWarnings>4018;4090;4114;4267;4351;4786;4800;4996</DisableSpecificWarnings>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Windows</SubSystem>
|
|
<EntryPointSymbol>wWinMainCRTStartup</EntryPointSymbol>
|
|
<DelayLoadDLLs>
|
|
</DelayLoadDLLs>
|
|
<AdditionalDependencies>Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
<PostBuildEvent>
|
|
<Command>if exist ..\testbench\x64\debug\Skins goto skip
|
|
mkdir ..\testbench\x64\debug\Skins
|
|
if not exist ..\testbench\x64\debug\Layouts (mkdir ..\testbench\x64\debug\Layouts)
|
|
echo "Copying skins..."
|
|
xcopy /Q /S /Y ..\Build\Skins ..\testbench\x64\debug\Skins
|
|
xcopy /Q /S /Y ..\Build\Themes ..\testbench\x64\debug\Layouts
|
|
:skip</Command>
|
|
</PostBuildEvent>
|
|
<Manifest>
|
|
<AdditionalManifestFiles>Application.manifest</AdditionalManifestFiles>
|
|
</Manifest>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<ClCompile>
|
|
<DisableSpecificWarnings>4018;4090;4114;4267;4351;4786;4800;4996</DisableSpecificWarnings>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalLibraryDirectories>..\Library\x32\Release;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
<SubSystem>Windows</SubSystem>
|
|
<EntryPointSymbol>Main</EntryPointSymbol>
|
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
|
<DelayLoadDLLs>
|
|
</DelayLoadDLLs>
|
|
<AdditionalDependencies>Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
<PostBuildEvent>
|
|
<Command>if exist ..\testbench\x32\release\Skins goto skip
|
|
mkdir ..\testbench\x32\release\Skins
|
|
if not exist ..\testbench\x32\release\Layouts (mkdir ..\testbench\x32\release\Layouts)
|
|
echo "Copying skins..."
|
|
xcopy /Q /S /Y ..\Build\Skins ..\testbench\x32\release\Skins
|
|
xcopy /Q /S /Y ..\Build\Themes ..\testbench\x32\release\Layouts
|
|
:skip</Command>
|
|
</PostBuildEvent>
|
|
<Manifest>
|
|
<AdditionalManifestFiles>Application.manifest</AdditionalManifestFiles>
|
|
</Manifest>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<ClCompile>
|
|
<AdditionalOptions>/GA %(AdditionalOptions)</AdditionalOptions>
|
|
<DisableSpecificWarnings>4018;4090;4114;4267;4351;4786;4800;4996</DisableSpecificWarnings>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalLibraryDirectories>..\Library\x64\Release;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
<SubSystem>Windows</SubSystem>
|
|
<EntryPointSymbol>Main</EntryPointSymbol>
|
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
|
<DelayLoadDLLs>
|
|
</DelayLoadDLLs>
|
|
<AdditionalDependencies>Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
<PostBuildEvent>
|
|
<Command>if exist ..\testbench\x64\release\Skins goto skip
|
|
mkdir ..\testbench\x64\release\Skins
|
|
if not exist ..\testbench\x64\release\Layouts (mkdir ..\testbench\x64\release\Layouts)
|
|
echo "Copying skins..."
|
|
xcopy /Q /S /Y ..\Build\Skins ..\testbench\x64\release\Skins
|
|
xcopy /Q /S /Y ..\Build\Themes ..\testbench\x64\release\Layouts
|
|
:skip</Command>
|
|
</PostBuildEvent>
|
|
<Manifest>
|
|
<AdditionalManifestFiles>Application.manifest</AdditionalManifestFiles>
|
|
</Manifest>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="Application.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ResourceCompile Include="Application.rc" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="Rainmeter.exe.config">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="Rainmeter.ico" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Library\Library.vcxproj">
|
|
<Project>{be9d2400-7f1c-49d6-8498-5ce495491ad6}</Project>
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project> |