We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 075bf33 commit 8080540Copy full SHA for 8080540
conda/libgit2/bld.bat
@@ -0,0 +1,20 @@
1
+mkdir build
2
+cd build
3
+REM Configure step
4
+if "%ARCH%"=="32" (
5
+set CMAKE_GENERATOR=Visual Studio 12 2013
6
+) else (
7
+set CMAKE_GENERATOR=Visual Studio 12 2013 Win64
8
+)
9
+set CMAKE_GENERATOR_TOOLSET=v120_xp
10
+cmake -G "%CMAKE_GENERATOR%" -DCMAKE_INSTALL_PREFIX=%PREFIX% -DSTDCALL=OFF %SRC_DIR%
11
+if errorlevel 1 exit 1
12
+REM Build step
13
+cmake --build .
14
15
+REM Install step
16
+cmake --build . --target install
17
18
+REM Hack to help pygit2 to find libgit2
19
+mkdir %PREFIX%\Scripts
20
+copy "%PREFIX%\bin\git2.dll" "%PREFIX%\Scripts\"
conda/pygit2/bld.bat
@@ -0,0 +1,3 @@
+set LIBGIT2=%PREFIX%
+set VS100COMNTOOLS=%VS120COMNTOOLS%
+%PYTHON% setup.py install
0 commit comments