HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/pkgs/jpeg-9e-h827c3e9_3/info/recipe/bld.bat
set PATH=%PREFIX%\cmake-bin\bin;%PATH%

REM Configure step
copy jconfig.vc jconfig.h
if errorlevel 1 exit /b 1

mkdir %c_compiler%
pushd %c_compiler%
set CXXFLAGS=
set CFLAGS=

REM Build step
cmake -G "NMake Makefiles"                     ^
      -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX%  ^
      -DCMAKE_BUILD_TYPE=Release               ^
      ..

if errorlevel 1 exit /b 1
cmake --build . --config Release --target INSTALL -- VERBOSE=1
if errorlevel 1 exit /b 1

REM This allows consuming build systems to use the -ljpeg option,
REM which is also specified in the .pc file.
REM the .dll remains called libjpeg.dll to ensure previously-built
REM downstream packages don't fail at runtime.
copy %PREFIX%\Library\lib\libjpeg.lib %PREFIX%\Library\lib\jpeg.lib

popd