Skip to content

Commit e1eb2c4

Browse files
author
Simon Lefrancois
committed
update windows install doc
1 parent 8a66700 commit e1eb2c4

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

doc/installation.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,14 @@ If you prefer a command-line approach, cmake is available as a console
170170
program with the same options as the Unix variant. You can select the
171171
nmake builder by passing ``-G "NMake Makefiles"`` to cmake.
172172

173-
Since there is no standard install location on Windows, there is no
174-
install step. It is up to you to copy the headers and libraries to an
175-
appropriate place.
176-
177-
If you don't have Visual Studio installed, you can get the free
178-
Express version from `here <https://www.visualstudio.com/>`_ in the
179-
downloads section (select the "for windows" edition).
173+
There is no standard install location on Windows, but you can specify a custom
174+
location by passing ``-DCMAKE_INSTALL_PREFIX=%LIBDIR%`` to cmake. You can then
175+
install using ``cmake --build . --target install`` after ``nmake``.
176+
177+
If you don't have Visual Studio installed, you can get the free `Visual Studio
178+
Community edition <https://www.visualstudio.com/vs/community/>`_,
179+
which has compilation tools for python 3.5 and up. For python 2.7, install
180+
`Microsoft Visual C++ Compiler for Python 2.7 <https://www.microsoft.com/en-ca/download/details.aspx?id=44266>`_.
180181

181182
.. warning::
182183
While you may get the library to compile using cygwin, this is not

0 commit comments

Comments
 (0)