Skip to content

Commit

Permalink
Fix even more errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Aug 30, 2024
1 parent 29384af commit f53dea9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/BuildLinuxTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public override void Run(BuildContext context)
context.CreateDirectory($"{context.ArtifactsDir}/linux-x64/");
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "-DALSOFT_TESTS=OFF -DALSOFT_UTILS=OFF -DALSOFT_EXAMPLES=OFF -DALSOFT_INSTALL=OFF .." });
context.StartProcess("make", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "" });
context.CopyFile($"{buildWorkingDir}libopenal.so", $"{context.ArtifactsDir}/linux-x64/libopenal.so");
context.CopyFile($"{buildWorkingDir}/libopenal.so", $"{context.ArtifactsDir}/linux-x64/libopenal.so");
BuildAndroid (context, "arm64-v8a", "android-arm64", "23");
BuildAndroid (context, "armeabi-v7a", "android-arm", "23");
BuildAndroid (context, "x86", "android-x86", "23");
Expand Down
2 changes: 1 addition & 1 deletion build/BuildMacOSTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public override void Run(BuildContext context)
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "-DCMAKE_OSX_ARCHITECTURES=\"x86_64;arm64\" -DALSOFT_REQUIRE_COREAUDIO=ON -DALSOFT_TESTS=OFF -DALSOFT_UTILS=OFF -DALSOFT_EXAMPLES=OFF -DALSOFT_INSTALL=OFF -DCMAKE_BUILD_TYPE=Release .." });
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "--build . --config Release" });
var files = Directory.GetFiles(System.IO.Path.Combine(buildWorkingDir), "libopenal.*.*.*.dylib", SearchOption.TopDirectoryOnly);
context.CopyFile(files[0], $"{context.ArtifactsDir}/osx/libOpenAL32.dylib");
context.CopyFile(files[0], $"{context.ArtifactsDir}/osx/libopenal.dylib");
// BuildAndroid (context, "arm64-v8a", "android-arm64", "23");
// BuildAndroid (context, "armeabi-v7a", "android-arm", "23");
// BuildAndroid (context, "x86", "android-x86", "23");
Expand Down
2 changes: 1 addition & 1 deletion build/BuildWindowsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ public override void Run(BuildContext context)
//context.ReplaceTextInFiles("assimp/code/assimp.vcxproj", "MultiThreadedDLL", "MultiThreaded");
//context.ReplaceTextInFiles("assimp/contrib/zlib/zlibstatic.vcxproj", "MultiThreadedDLL", "MultiThreaded");
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "--build . --config release" });
context.CopyFile(@"openal-soft/Release/OpenAL32.dll", $"{context.ArtifactsDir}/windows-x64/openal.dll");
context.CopyFile(@"openal-soft/build_windows/Release/OpenAL32.dll", $"{context.ArtifactsDir}/windows-x64/openal.dll");
}
}

0 comments on commit f53dea9

Please sign in to comment.