Skip to content

Commit

Permalink
actually fix up the vcxproj files
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Feb 23, 2024
1 parent 884d729 commit ee8a4b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/BuildWindowsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ public sealed class BuildWindowsTask : FrostingTask<BuildContext>
public override void Run(BuildContext context)
{
var buildWorkingDir = "assimp/";
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "-DASSIMP_BUILD_TESTS=OFF -DASSIMP_INSTALL=OFF -DMSVC_RUNTIME_LIBRARY=MultiThreaded CMakeLists.txt"});
context.ReplaceTextInFiles("assimp.vcxproj", "MultiThreadedDLL", "MultiThreaded");
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "-DASSIMP_BUILD_TESTS=OFF -DASSIMP_INSTALL=OFF CMakeLists.txt"});
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(@"assimp/bin/Release/assimp-vc143-mt.dll", $"{context.ArtifactsDir}/assimp.dll");
}
Expand Down

0 comments on commit ee8a4b3

Please sign in to comment.