mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
f6461a1b30
This allows plugins like InputText.dll to be used with .NET 4.0/4.5 in addition to 2.0. Therefore, we can avoid installing .NET 2.0 on Windows 8 and 8.1 where it is not installed by default (whereas 4.5/4.5.1 is installed by default).
138 lines
6.0 KiB
XML
138 lines
6.0 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>Rainmeter.dll</DelayLoadDLLs>
|
|
</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>Rainmeter.dll</DelayLoadDLLs>
|
|
</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>Rainmeter.dll</DelayLoadDLLs>
|
|
</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>Rainmeter.dll</DelayLoadDLLs>
|
|
</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> |