Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Aug 15, 2024
1 parent 08b0de3 commit 9cd3d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/BuildWindowsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public override void Run(BuildContext context)
var cmakeListsPath = System.IO.Path.Combine("..", "crunch", "CMakeLists.txt");
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = cmakeListsPath });
context.ReplaceTextInFiles("crunch_build/crunch.vcxproj", "MultiThreadedDLL", "MultiThreaded");
context.ReplaceTextInFiles("crunch_build/crnlib/crn-obj.vcxproj", "MultiThreadedDLL", "MultiThreaded");
//context.ReplaceTextInFiles("crunch_build/crnlib/crn-obj.vcxproj", "MultiThreadedDLL", "MultiThreaded");
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "--build . --config release" });
var files = Directory.GetFiles(System.IO.Path.Combine (buildWorkingDir, "Release"), "crunch.exe", SearchOption.TopDirectoryOnly);
context.CopyFile(files[0], $"{context.ArtifactsDir}/crunch.exe");
Expand Down

0 comments on commit 9cd3d69

Please sign in to comment.