-
Notifications
You must be signed in to change notification settings - Fork 1
/
mingwenv.bat
executable file
·25 lines (18 loc) · 1.18 KB
/
mingwenv.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@echo off
REM -----------------------------------------------------------------------------
REM The paths in this file are used if you want to build Inkscape from the
REM the Windows built-in command line (i.e. MSYS).
REM -----------------------------------------------------------------------------
REM Directory containing the precompiled Inkscape libraries. Usually c:\devlibs or c:\devlibs64
if "%DEVLIBS_PATH%"=="" set DEVLIBS_PATH=c:\devlibs64
REM Directory containing the MinGW instance used for compilation. Usually c:\mingw or c:\mingw64
REM Note: Make sure there are no whitespaces in the path. MinGW doesn't like that.. ;)
if "%MINGW_PATH%"=="" set MINGW_PATH=c:\mingw64
REM -----------------------------------------------------------------------------
@echo Setting environment variables for MinGW build of Inkscape..
@echo DEVLIBS_PATH: %DEVLIBS_PATH%
@echo MINGW_PATH: %MINGW_PATH%
REM Include the MinGW environment in the path to prevent error messages during CMake configure.
set PATH=%DEVLIBS_PATH%\bin;%DEVLIBS_PATH%\python;%MINGW_PATH%\bin;%PATH%
REM Also set the pkgconfig path to prevent error messages during CMake configure.
set PKG_CONFIG_PATH=%DEVLIBS_PATH%\lib\pkgconfig