Skip to content

Commit

Permalink
build: add 4-series project
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-welker committed Apr 22, 2024
1 parent 051be25 commit 117953f
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 0 deletions.
25 changes: 25 additions & 0 deletions epi-videoCodec-ciscoExtended.4Series.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.8.34601.278
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "epi-videoCodec-ciscoExtended.4Series", "src\epi-videoCodec-ciscoExtended.4Series.csproj", "{69C83F5F-ED85-4801-ABC2-B224A9F68C0B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{69C83F5F-ED85-4801-ABC2-B224A9F68C0B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{69C83F5F-ED85-4801-ABC2-B224A9F68C0B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{69C83F5F-ED85-4801-ABC2-B224A9F68C0B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{69C83F5F-ED85-4801-ABC2-B224A9F68C0B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {41C87423-5D6B-41BA-AE46-AFD85C9FD719}
EndGlobalSection
EndGlobal
19 changes: 19 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<Project>
<PropertyGroup>
<Version>1.0.0-local</Version>
<Authors>PepperDash Technologies</Authors>
<Company>PepperDash Technologies</Company>
<Product>PepperDash Essentials Cisco RoomOs</Product>
<RepositoryUrl>https://github.com/PepperDash/epi-videoCodec-ciscoExtended</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>Crestron; 4series</PackageTags>
<PackageOutputPath>../output</PackageOutputPath>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<None Include="..\LICENSE.md" Pack="true" PackagePath=""/>
<None Include="..\README.md" Pack="true" PackagePath=""/>
</ItemGroup>
</Project>
20 changes: 20 additions & 0 deletions src/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<Project>
<ItemGroup>
<None Include="$(TargetDir)\$(TargetName).$(Version).cpz" Condition="$(ProjectType) == 'Program'">
<Pack>true</Pack>
<PackagePath>content;</PackagePath>
</None>
<None Include="$(PackageOutputPath)\$(TargetName).$(Version).cplz" Condition="$(ProjectType) == 'ProgramLibrary'">
<Pack>true</Pack>
<PackagePath>content;</PackagePath>
</None>
</ItemGroup>
<Target Name="Create CPLZ" AfterTargets="Build; Rebuild" Condition="$(ProjectType) == 'ProgramLibrary'">
<Message Text="Creating CPLZ"></Message>
<MakeDir Directories="$(PackageOutputPath)" Condition="!Exists($(PackageOutputPath))"></MakeDir>
<ZipDirectory SourceDirectory="$(TargetDir)" DestinationFile="$(PackageOutputPath)\$(TargetName).$(Version).cplz" Overwrite="true"/>
</Target>
<Target Name="Clean CPLZ" AfterTargets="AfterClean" Condition="$(ProjectType) == 'ProgramLibrary'">
<Delete Files="$(PackageOutputPath)\$(TargetName).$(Version).cplz"/>
</Target>
</Project>
45 changes: 45 additions & 0 deletions src/epi-videoCodec-ciscoExtended.4Series.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ProjectType>ProgramLibrary</ProjectType>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<RootNamespace>epi_videoCodec_ciscoExtended</RootNamespace>
<Deterministic>false</Deterministic>
<AssemblyTitle>epi-videoCodec-ciscoExtended</AssemblyTitle>
<Description>This software is a plugin designed to work as a part of PepperDash Essentials for Crestron control processors. This plugin controls a Cisco RoomOs Video Codec using SSH</Description>
<Copyright>Copyright 2024</Copyright>
<Version>1.0.0-local</Version>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<InformationalVersion>$(Version)</InformationalVersion>
<OutputPath>4Series\bin\$(Configuration)\</OutputPath>
<Authors>PepperDash Technologies</Authors>
<PackageId>PepperDash.Essentials.Plugin.CiscoRoomOsCodec</PackageId>
<PackageProjectUrl>https://github.com/PepperDash/epi-videoCodec-ciscoExtended</PackageProjectUrl>
<PackageTags>crestron 4series cisco webex webexpro vtc videocodec codec</PackageTags>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>$(DefineConstants);SERIES4</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>$(DefineConstants);SERIES4</DefineConstants>
</PropertyGroup>

<ItemGroup>
<Compile Remove="Properties\**" />
<Compile Remove="references\**" />
<EmbeddedResource Remove="Properties\**" />
<EmbeddedResource Remove="references\**" />
<None Remove="Properties\**" />
<None Remove="references\**" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="PepperDashEssentials" Version="2.0.0-beta-2434" />
<PackageReference Include="WebSocketSharp-netstandard" Version="1.0.1" />
</ItemGroup>

</Project>

0 comments on commit 117953f

Please sign in to comment.