Skip to content

Commit eb47960

Browse files
committed
fix meson install scripts for windows
1 parent 9c06be4 commit eb47960

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

sources/install.bat

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
mkdir %USERPROFILE%\.GSASII
2+
mkdir %USERPROFILE%\.GSASII\bin
13
set OUTDIR=%USERPROFILE%\.GSASII\bin
2-
copy /y "%MESON_BUILD_ROOT%\sources\"*.so ${OUTDIR}\
3-
copy /y "%MESON_BUILD_ROOT%\sources\"*/*.so ${OUTDIR}\
4-
copy /y "%MESON_BUILD_ROOT%\sources\"LATTIC ${OUTDIR}\
5-
copy /y "%MESON_BUILD_ROOT%\sources\"convcell ${OUTDIR}\
6-
copy /y "%MESON_BUILD_ROOT%\sources\"GSAS*.txt ${OUTDIR}\
4+
copy /y "%MESON_BUILD_ROOT%\sources\"*.pyd %OUTDIR%\
5+
copy /y "%MESON_BUILD_ROOT%\sources\k_vec_cython\"*.pyd %OUTDIR%\
6+
copy /y "%MESON_BUILD_ROOT%\sources\"LATTIC.exe %OUTDIR%\
7+
copy /y "%MESON_BUILD_ROOT%\sources\"convcell.exe %OUTDIR%\
8+
copy /y "%MESON_BUILD_ROOT%\sources\"GSAS*.txt %OUTDIR%\

sources/sysinstall.bat

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
set OUTDIR=%MESON_SOURCE_ROOT%\GSASII\bin
2-
copy /y "%MESON_BUILD_ROOT%\sources\"*.so ${OUTDIR}\
3-
copy /y "%MESON_BUILD_ROOT%\sources\"*/*.so ${OUTDIR}\
4-
copy /y "%MESON_BUILD_ROOT%\sources\"LATTIC ${OUTDIR}\
5-
copy /y "%MESON_BUILD_ROOT%\sources\"convcell ${OUTDIR}\
6-
copy /y "%MESON_BUILD_ROOT%\sources\"GSAS*.txt ${OUTDIR}\
2+
mkdir %OUTDIR%
3+
copy /y "%MESON_BUILD_ROOT%\sources\"*.pyd %OUTDIR%\
4+
copy /y "%MESON_BUILD_ROOT%\sources\k_vec_cython\"*.pyd %OUTDIR%\
5+
copy /y "%MESON_BUILD_ROOT%\sources\"LATTIC.exe %OUTDIR%\
6+
copy /y "%MESON_BUILD_ROOT%\sources\"convcell.exe %OUTDIR%\
7+
copy /y "%MESON_BUILD_ROOT%\sources\"GSAS*.txt %OUTDIR%\

0 commit comments

Comments
 (0)