-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c1737f
commit 504e0df
Showing
21 changed files
with
479 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ obj/ | |
**/packages/* | ||
|
||
licenseinfo.txt | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# A simple image to build the Linux variants of the aurioffmpegproxy library (on Windows). | ||
# | ||
# Usage: | ||
# 1. build image: docker build -f Dockerfile.libaurioffmpeglinuxbuild --tag libaurioffmpegproxybuilder . | ||
# 2. run container: docker run -it --rm -v .:/aurio libaurioffmpegproxybuilder | ||
FROM ubuntu:22.04 | ||
RUN apt update && apt install -y cmake ninja-build wget xz-utils | ||
WORKDIR /aurio | ||
CMD [ "./build-nativesrc-linux.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Write-Host "Setting up VS dev env..."; | ||
$vsPath = &(Join-Path ${env:ProgramFiles(x86)} "\Microsoft Visual Studio\Installer\vswhere.exe") -latest -property installationpath | ||
Import-Module (Join-Path $vsPath "Common7\Tools\Microsoft.VisualStudio.DevShell.dll") | ||
Enter-VsDevShell -VsInstallPath $vsPath -SkipAutomaticLocation -DevCmdArguments '-arch=x64' | ||
|
||
Write-Host "Building native source for Windows..."; | ||
./install-deps.ps1 | ||
cmake nativesrc --preset x64-debug | ||
cmake --build nativesrc\out\build\x64-debug | ||
cmake nativesrc --preset x64-release | ||
cmake --build nativesrc\out\build\x64-release | ||
|
||
Write-Host "Building native source for Linux..."; | ||
docker build -f Dockerfile.libaurioffmpeglinuxbuild --tag libaurioffmpegproxybuilder . | ||
docker run -it --rm -v .:/aurio libaurioffmpegproxybuilder | ||
|
||
Write-Host "Packing..."; | ||
dotnet pack src -c NugetPackRelease -o dist/nuget | ||
|
||
Write-Host "Done :)"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
./install-deps.sh && \ | ||
cmake nativesrc --preset linux-debug && \ | ||
cmake --build nativesrc/out/build/linux-debug && \ | ||
cmake nativesrc --preset linux-release && \ | ||
cmake --build nativesrc/out/build/linux-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<AssemblyTitle>Aurio Exocortex.DSP FFT Interface</AssemblyTitle> | ||
<AssemblyTitle>Aurio Exocortex.DSP FFT extension</AssemblyTitle> | ||
<IsPackable>true</IsPackable> | ||
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput> | ||
<Description>Extension library for Aurio, which provides audio FFT and iFFT through the Exocortex.DSP library (see https://benhouston3d.com/dsp/).</Description> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="..\Aurio.licenseheader" Link="Aurio.licenseheader" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\ExocortexDSP\Exocortex.DSP.csproj" /> | ||
<ProjectReference Include="..\..\ExocortexDSP\Exocortex.DSP.csproj" PrivateAssets="All" /> | ||
<ProjectReference Include="..\Aurio\Aurio.csproj" /> | ||
</ItemGroup> | ||
<!-- | ||
Include the Exocortex.DSP library in this package (because there is no nuget package). | ||
Since MSBuild does not directly support it, this is a workaround from | ||
https://github.com/NuGet/Home/issues/3891, consisting of below `Target`, `TargetsForTfmSpecificBuildOutput` | ||
property, and the `PrivateAssets` marker on the project reference. | ||
--> | ||
<Target Name="CopyProjectReferencesToPackage" DependsOnTargets="BuildOnlySettings;ResolveReferences"> | ||
<ItemGroup> | ||
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('PrivateAssets', 'All'))" /> | ||
</ItemGroup> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.