Skip to content

Commit eccedc1

Browse files
committed
Some documentation updates.
1 parent afe98cc commit eccedc1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/installing-solidity.rst

+10-4
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,10 @@ Or, on Windows:
300300

301301
.. code-block:: bat
302302
303-
scripts\install_deps.bat
303+
scripts\install_deps.ps1
304+
305+
Note that the latter command will install ``boost`` and ``cmake`` to the ``deps`` subdirectory, while the former command
306+
will attempt to install the dependencies globally.
304307

305308
Clone the Repository
306309
--------------------
@@ -364,9 +367,12 @@ And for Windows:
364367
cd build
365368
cmake -G "Visual Studio 16 2019 Win64" ..
366369
367-
This latter set of instructions should result in the creation of
368-
**solidity.sln** in that build directory. Double-clicking on that file
369-
should result in Visual Studio firing up. We suggest building
370+
In case you want to use the version of boost installed by ``./scripts/install_deps.ps1``, you will
371+
additionally need to pass ``-DBoost_DIR="..\deps\boost\lib\cmake\Boost-*"`` and ``-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded``
372+
as arguments to the call to ``cmake``.
373+
374+
This should result in the creation of **solidity.sln** in that build directory.
375+
Double-clicking on that file should result in Visual Studio firing up. We suggest building
370376
**Release** configuration, but all others work.
371377

372378
Alternatively, you can build for Windows on the command-line, like so:

0 commit comments

Comments
 (0)