Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
151 lines (145 sloc) 7.01 KB
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{446E2470-00DC-4835-B62D-9DB8A7D41F4A}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>CameraTools</RootNamespace>
<AssemblyName>CameraTools</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<TargetFrameworkProfile>Unity Subset v3.5</TargetFrameworkProfile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>False</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>False</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
<Optimize>False</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>False</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<OutputPath>bin\Release\</OutputPath>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Optimize>true</Optimize>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="CamTools.cs" />
<Compile Include="CCInputUtils.cs" />
<Compile Include="CTAtmosphericAudioController.cs" />
<Compile Include="CTPartAudioController.cs" />
<Compile Include="CTPersistantFIeld.cs" />
<Compile Include="Curve3D.cs" />
<Compile Include="CameraTransformation.cs" />
<Compile Include="CameraPath.cs" />
<Compile Include="CameraKeyframe.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RotationAnimation.cs" />
<Compile Include="Vector3Animation.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\REPOSITORIO\_LocalDev\KSPRefs\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\REPOSITORIO\_LocalDev\KSPRefs\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="KSPAssets, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\REPOSITORIO\_LocalDev\KSPRefs\KSPAssets.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\REPOSITORIO\_LocalDev\KSPRefs\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\REPOSITORIO\_LocalDev\KSPRefs\UnityEngine.UI.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Content Include="Distribution\GameData\CameraTools\Changelog.txt" />
<Content Include="Distribution\GameData\CameraTools\License.txt" />
<Content Include="Distribution\GameData\CameraTools\MiniAVC.dll" />
<Content Include="Distribution\GameData\CameraTools\Plugins\CameraTools.dll" />
<Content Include="Distribution\GameData\CameraTools\Sounds\sonicBoom.wav" />
<Content Include="Distribution\GameData\CameraTools\Sounds\windhowl.wav" />
<Content Include="Distribution\GameData\CameraTools\Sounds\windloop.wav" />
<Content Include="Distribution\GameData\CameraTools\Sounds\windtear.wav" />
<Content Include="Distribution\GameData\CameraTools\Textures\icon.png" />
<Content Include="LocalDev\7za_dir.txt" />
<Content Include="LocalDev\dist_dir.txt" />
<Content Include="LocalDev\ksp_dir.txt" />
<Content Include="LocalDev\mono_exe.txt" />
<Content Include="LocalDev\pdb2mdb_exe.txt" />
</ItemGroup>
<ItemGroup>
<None Include="Distribution\GameData\CameraTools\ATM_CameraTools.cfg" />
<None Include="Distribution\GameData\CameraTools\CameraTools.version" />
<None Include="Distribution\GameData\CameraTools\paths.cfg" />
<None Include="Distribution\GameData\CameraTools\settings.cfg" />
</ItemGroup>
<ItemGroup />
<PropertyGroup>
<PostBuildEvent>@echo $(Targetname)
@echo ...
@echo set lpath vars from LocalDev storage...
set /p KSP_DIR=&lt;"$(ProjectDir)LocalDev\ksp_dir.txt"
set /p PDB2MDB_EXE=&lt;"$(ProjectDir)LocalDev\pdb2mdb_exe.txt"
set /p ZA_DIR=&lt;"$(ProjectDir)LocalDev\7za_dir.txt"
set /p DIST_DIR=&lt;"$(ProjectDir)LocalDev\dist_dir.txt"
@echo distributing $(Targetname) files...
copy /Y "$(TargetPath)" "$(ProjectDir)Distribution\GameData\CameraTools\Plugins\"
if $(ConfigurationName) == Debug (
@echo building $(Targetname).dll.mdb file...
cd "$(TargetDir)"
call "%25PDB2MDB_EXE%25" $(Targetname).dll
copy /Y "$(TargetDir)$(Targetname).dll.mdb" "%25KSP_DIR%25\GameData\CameraTools\Plugins\"
)
@echo packaging files...
if exist "%25DIST_DIR%25\CameraTools*.zip" del "%25DIST_DIR%25\CameraTools*.zip"
call "%25ZA_DIR%25\7za.exe" a -tzip -r "%25DIST_DIR%25\CameraTools.@(VersionNumber)_%25DATE:~4,2%25%25DATE:~7,2%25%25DATE:~10,4%25.zip" "$(ProjectDir)Distribution\*.*"
@echo Deploy $(Targetname) Distribution files to test env: %25KSP_DIR%25\GameData...
@echo copying:"$(SolutionDir)\CameraTools\Distribution\GameData" to "%25KSP_DIR%25\GameData"
xcopy /E /Y "$(SolutionDir)\CameraTools\Distribution\GameData" "%25KSP_DIR%25\GameData"
if $(ConfigurationName) == Debug (
copy /Y "$(TargetDir)$(Targetname).pdb" "%25KSP_DIR%25\GameData\CameraTools\Plugins\"
)
@echo Build/deploy complete!</PostBuildEvent>
</PropertyGroup>
</Project>
You can’t perform that action at this time.