diff options
author | sr55 <[email protected]> | 2011-07-17 14:17:53 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-07-17 14:17:53 +0000 |
commit | 88cc694ec68c7f396945897f7a865bef0ec3b341 (patch) | |
tree | 7afa892cd2326b5e04b13df87a11accb4ea6f272 /win/CS/HandBrakeCS.csproj | |
parent | b7bd335a32a15c792cf0539bc1c96f46209452f3 (diff) |
WinGui: Setup a simple msbuild configuration and simplified the project build targets.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4117 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeCS.csproj')
-rw-r--r-- | win/CS/HandBrakeCS.csproj | 58 |
1 files changed, 5 insertions, 53 deletions
diff --git a/win/CS/HandBrakeCS.csproj b/win/CS/HandBrakeCS.csproj index b697eb1b2..ed1d29c25 100644 --- a/win/CS/HandBrakeCS.csproj +++ b/win/CS/HandBrakeCS.csproj @@ -42,61 +42,26 @@ <PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Debug\</OutputPath>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Release\</OutputPath>
<UseVSHostingProcess>false</UseVSHostingProcess>
- <DefineConstants>TRACE;DEBUG</DefineConstants>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
<Optimize>true</Optimize>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Build|x86' ">
- <OutputPath>bin\x86\Build\</OutputPath>
- <PlatformTarget>x86</PlatformTarget>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Install|x86'">
- <OutputPath>bin\x86\Install\</OutputPath>
- <DefineConstants>TRACE;DEBUG</DefineConstants>
- <Optimize>true</Optimize>
- <PlatformTarget>x86</PlatformTarget>
- <CodeAnalysisLogFile>bin\x86\Release\Handbrake.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
- <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
- <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
- <UseVSHostingProcess>false</UseVSHostingProcess>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- <CodeAnalysisRuleSetDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
- <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
- <CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
- <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
- <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NightlyBuild|x86'">
- <OutputPath>bin\x86\NightlyBuild\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <Optimize>true</Optimize>
- <PlatformTarget>x86</PlatformTarget>
- </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Release\</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Build|x64'">
- <PlatformTarget>x64</PlatformTarget>
- <OutputPath>bin\x64\Build\</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Install|x64'">
- <PlatformTarget>x64</PlatformTarget>
- <OutputPath>bin\x64\Install\</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NightlyBuild|x64'">
- <PlatformTarget>x64</PlatformTarget>
- <OutputPath>bin\x64\NightlyBuild\</OutputPath>
+ <Optimize>true</Optimize>
+ <DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="Growl.Connector, Version=2.0.0.0, Culture=neutral, PublicKeyToken=980c2339411be384, processorArchitecture=x86">
@@ -451,19 +416,6 @@ </Target>
-->
<Import Project="$(ProgramFiles)\MSBuild\StyleCop\v4.5\StyleCop.targets" />
- <PropertyGroup Condition=" '$(Configuration)' == 'Install' ">
- <PostBuildEvent>
- makensis Installer.nsi
- </PostBuildEvent>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'NightlyBuild' ">
- <PostBuildEvent>
- copy "$(ProjectDir)Installer\MakeNightly.nsi" "$(ProjectDir)bin\x86\NightlyBuild" /Y
- copy "$(ProjectDir)handbrakepineapple.ico" "$(ProjectDir)bin\x86\NightlyBuild" /Y
- xcopy "$(ProjectDir)doc" "$(ProjectDir)bin\x86\NightlyBuild\doc" /I /Y
- makensis "$(ProjectDir)bin\x86\NightlyBuild\MakeNightly.nsi"
- </PostBuildEvent>
- </PropertyGroup>
<PropertyGroup>
<PreBuildEvent>
subwcrev.exe "$(ProjectDir)." "$(ProjectDir)Properties\AssemblyInfo.cs.tmpl" "$(ProjectDir)Properties\AssemblyInfo.cs"
|