Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create env_ccpsynerbi.ps1 and .bat #460

Closed
KrisThielemans opened this issue Dec 26, 2020 · 1 comment · Fixed by #681
Closed

create env_ccpsynerbi.ps1 and .bat #460

KrisThielemans opened this issue Dec 26, 2020 · 1 comment · Fixed by #681
Assignees

Comments

@KrisThielemans
Copy link
Member

KrisThielemans commented Dec 26, 2020

We need to create environment files for Windows, ideally supporting Powershell and bat.

Here's what I need on my system for the .PS1 file

$install="C:\Users\krisf\Documents\devel\buildVC\SIRF-SuperBuild\INSTALL"
 $Env:Path = "${install}\bin" + ";" + $Env:Path
 $Env:Path += ";${install}\FFTW"
 $Env:Path += ";c:/local/boost_1_74_0/lib64-msvc-14.2/"
 # need to be forward slashes 
 $Env:SIRF_PATH = "C:/Users/krisf/Documents/devel/buildVC/SIRF-SuperBuild/sources/SIRF"
 $Env:PYTHONPATH = "${install}\python"
 $Env:MATLABPATH = "${install}\matlab"
 $Env:MATLABPATH+=';C:\Users\krisf\Documents\devel\buildVC\SIRF-SuperBuild\sources\SPM'
 $Env:Path += ";c\Program Files\MATLAB\R2020b\bin\win64;c:\Program Files\MATLAB\R2020b\extern\bin\win64"

Obviously, these have to be determined from internal variables.

@KrisThielemans
Copy link
Member Author

KrisThielemans commented Feb 5, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants