1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
@echo on
set CPPTRAJ_TEST_OS=windows
rem debugging: print library dependencies of cpptraj
dumpbin /dependents bin/cpptraj.exe
if %BUILD_TYPE% equ cmake-vs (
rem make sure MSYS's sh inherits our full path
rem (from https://github.com/cisco/ChezScheme/issues/19 )
rem set MSYS2_PATH_TYPE=inherit
rem set "PATH=%cd%\bin;%PATH%"
rem cd C:/msys64/usr/bin
rem cpptraj --version
rem sh -lc "cd /c/projects/cpptraj/test; make test.showerrors"
) else (
sh -lc "cd test; make test.showerrors" || exit /b
)
|