Yes, you can use the shell command, for example:
...
'include_dirs': [ '<!(echo %OPENSSL_DIR%)/include', '<!(echo %BOOST_DIR%)', '<!(echo %SQLITE_DIR%)', ],
...
(this syntax is for Windows, for Linux use $ in env vars, e.g. echo $OPENSSL_DIR ).
source share