Last active
December 2, 2015 11:23
-
-
Save Bigous/495df60ed9067266e82b to your computer and use it in GitHub Desktop.
Define oracledb variables for windows.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Defining oracle variables... | |
set "OCI_LOCATION=D:\Oracle\instantclient_12_1\x64" | |
set "OCI_LIB_DIR=%OCI_LOCATION%\sdk\lib\msvc" | |
set "OCI_INC_DIR=%OCI_LOCATION%\sdk\include" | |
set "NODE_ORACLEDB_USER=xxx" | |
set "NODE_ORACLEDB_PASSWORD=yyy" | |
set "NODE_ORACLEDB_CONNECTIONSTRING=zzz" | |
set "PATH=%OCI_LOCATION%;%PATH%" | |
if defined VS140COMNTOOLS goto vs2015 | |
if defined VS120COMNTOOLS goto vs2013 | |
goto :eof | |
:vs2015 | |
echo Using VS-2015 | |
call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" amd64 | |
goto :eof | |
:vs2013 | |
echo Using VS-2013 | |
call "%VS120COMNTOOLS%..\..\VC\vcvarsall.bat" amd64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment