Skip to content

Commit 26c43c4

Browse files
committed
Updated magick.native build command to allow using a different config.
1 parent 80faf88 commit 26c43c4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Magick.Native/build/Build.cmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set quantum=%1
66
set architecture=%2
77
set hdri=%3
88
set openMP=%4
9+
set config=Debug
910

1011
if "%quantum%"=="" goto invalid
1112
if "%architecture%"=="" goto invalid
@@ -14,7 +15,7 @@ if "%openMP%"=="" goto invalid
1415

1516
cd ..\..\..\..\Magick.Native\build\windows
1617

17-
call "build.cmd" Debug %quantum% %architecture% %hdri% %openMP%
18+
call "build.cmd" %config% %quantum% %architecture% %hdri% %openMP%
1819

1920
set quantumName=%quantum%
2021
if not "%hdri%"=="noHdri" set quantumName=%quantumName%-HDRI
@@ -25,7 +26,7 @@ call ..\..\..\..\Magick.Native\build\windows\copy-resources.cmd Release%quantumN
2526

2627
if not "%openMP%"=="noOpenMP" set quantumName=%quantumName%-OpenMP
2728

28-
cd ..\..\..\..\Magick.Native\src\Magick.Native\bin\Debug%quantumName%\%architecture%
29+
cd ..\..\..\..\Magick.Native\src\Magick.Native\bin\%config%%quantumName%\%architecture%
2930

3031
set testfolder=..\..\..\..\..\..\Magick.NET\tests
3132

0 commit comments

Comments
 (0)