Skip to content

Commit cebfc65

Browse files
committed
Corrected debug build scripts.
1 parent 0d3b7de commit cebfc65

File tree

7 files changed

+11
-8
lines changed

7 files changed

+11
-8
lines changed

src/Magick.Native/build/Build.cmd

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
setlocal
23
set "SCRIPT_DIR=%~dp0"
34

45
set quantum=%1
@@ -18,11 +19,13 @@ call "build.cmd" Debug %quantum% %architecture% %hdri% %openMP%
1819
set quantumName=%quantum%
1920
if not "%hdri%"=="noHdri" set quantumName=%quantumName%-HDRI
2021

21-
call "copy-resources.cmd" ..\..\..\Magick.NET\src\Magick.Native\resources\Release%quantumName%
22+
cd ..\..\..\Magick.NET\src\Magick.Native\resources
23+
24+
call ..\..\..\..\Magick.Native\build\windows\copy-resources.cmd Release%quantumName% %architecture%
2225

2326
if not "%openMP%"=="noOpenMP" set quantumName=%quantumName%-OpenMP
2427

25-
cd ..\..\src\Magick.Native\bin\Debug%quantumName%\%architecture%
28+
cd ..\..\..\..\Magick.Native\src\Magick.Native\bin\Debug%quantumName%\%architecture%
2629

2730
set testfolder=..\..\..\..\..\..\Magick.NET\tests
2831

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
call "Build.cmd" Debug Q16-HDRI arm64
2+
call Build.cmd Q16 arm64 hdri noOpenMP
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
call "Build.cmd" Debug Q16-HDRI x86
2+
call Build.cmd Q16 x86 hdri noOpenMP
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
call "Build.cmd" Debug Q16 arm64
2+
call Build.cmd Q16 arm64 noHdri noOpenMP
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
call "Build.cmd" Debug Q16 x86
2+
call Build.cmd Q16 x86 noHdri noOpenMP
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
call "Build.cmd" Debug Q8 arm64
2+
call Build.cmd Q8 arm64 noHdri noOpenMP
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
call "Build.cmd" Debug Q8 x86
2+
call Build.cmd Q8 x86 noHdri noOpenMP

0 commit comments

Comments
 (0)