-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathSetEnv.bat
32 lines (24 loc) · 1.41 KB
/
SetEnv.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
26
27
28
29
30
31
32
@echo off
rem Batch file for configuring environment variables for SigLib DSP Library
echo Batch file for configuring environment variables for SigLib DSP Library
echo Please ensure this batch file is executed from a Visual Stuio command prompt
rem SIGLIB_PATH - Set these to reflect the location of your SigLib installation
rem Note: Cygwin GCC uses linux directory structure notation
REM set SIGLIB_PATH=c:\Integra\siglib
REM set set SIGLIB_PATH_CYGWIN=/cygdrive/c/Integra/siglib
rem Gnuplot - Ensure this path is set correctly, to locate gnuplot
rem The SigLib graphical examples use gnuplot, which can be downloaded from here: http://www.gnuplot.info/
set PATH=C:\Program Files\gnuplot\bin;%PATH%
rem SigLib Environment Variables
set PATH=%PATH%;%SIGLIB_PATH%\utils;%SIGLIB_PATH%\Examples\FileIO
rem Microsoft Visual C/C++ SigLib Environment Variables
set INCLUDE=%INCLUDE%;%SIGLIB_PATH%\include;c:\portaudio_v19\include
set LIB=%LIB%;%SIGLIB_PATH%\lib\Microsoft\static_library_64\Release;C:\portaudio_v19\build\msvc\Win32\Release
set INCLUDE=%INCLUDE%;%SIGLIB_PATH%\gnuplot_c\src
set LIB=%LIB%;%SIGLIB_PATH%\gnuplot_c\src
rem Cygwin GCC SigLib Environment Variables
cygcheck -V >nul 2>&1 && (
rem Cygwin Installed - configuring environment variables
set C_INCLUDE_PATH=%SIGLIB_PATH_CYGWIN%/include:%SIGLIB_PATH_CYGWIN%/gnuplot_c/src
set LIBRARY_PATH=%SIGLIB_PATH_CYGWIN%/lib/GCC_Win:%SIGLIB_PATH_CYGWIN%/gnuplot_c/src
)