mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Build: Add RainmeterPlugin.Cs.props
This change allows Build.bat to define RmOutDirRoot to redirect output files to a different directory. This will be required for the new installer.
This commit is contained in:
@ -16,8 +16,11 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<OutDir Condition="'$(Platform)'=='Win32'">$(SolutionDir)x32-$(Configuration)\</OutDir>
|
||||
<OutDir Condition="'$(Platform)'=='x64'">$(SolutionDir)x64-$(Configuration)\</OutDir>
|
||||
<!-- This is overridden by Build.bat during full build. -->
|
||||
<RmOutDirRoot Condition=" '$(Platform)' == 'Win32' ">$(SolutionDir)x32-$(Configuration)\</RmOutDirRoot>
|
||||
<RmOutDirRoot Condition=" '$(Platform)' == 'x64' ">$(SolutionDir)x64-$(Configuration)\</RmOutDirRoot>
|
||||
|
||||
<OutDir>$(RmOutDirRoot)</OutDir>
|
||||
<IntDir>$(OutDir)\Obj\$(ProjectName)\</IntDir>
|
||||
</PropertyGroup>
|
||||
|
||||
|
9
Build/VS/RainmeterPlugin.Cs.props
Normal file
9
Build/VS/RainmeterPlugin.Cs.props
Normal file
@ -0,0 +1,9 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<!-- This is overridden by Build.bat during full build. -->
|
||||
<RmOutDirRoot Condition=" '$(Platform)' == 'x86' ">$(SolutionDir)x32-$(Configuration)\</RmOutDirRoot>
|
||||
<RmOutDirRoot Condition=" '$(Platform)' == 'x64' ">$(SolutionDir)x64-$(Configuration)\</RmOutDirRoot>
|
||||
|
||||
<OutputPath>$(RmOutDirRoot)Plugins\</OutputPath>
|
||||
</PropertyGroup>
|
||||
</Project>
|
Reference in New Issue
Block a user