aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-07-06 13:59:59 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-07-06 13:59:59 +0200
commitec96e47bf01022cb8817e425452a158f008b95a0 (patch)
treeacbf50b86df62331374ff021eb0e132fee595167 /README.md
parent71ca4f95b80f6dd769e7924b22aa1682486ebb89 (diff)
downloadnextpnr-ec96e47bf01022cb8817e425452a158f008b95a0.tar.gz
nextpnr-ec96e47bf01022cb8817e425452a158f008b95a0.tar.bz2
nextpnr-ec96e47bf01022cb8817e425452a158f008b95a0.zip
MSVC build instructions
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 498ff0f0..c27260bd 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,10 @@ Prequisites
- Boost libraries (`libboost-dev` or `libboost-all-dev` for Ubuntu)
- Icestorm, with chipdbs installed in `/usr/local/share/icebox`
- Latest git Yosys is required to synthesise the demo design
-
+ - For building on Windows with MSVC, usage of vcpkg is advised for dependency installation.
+ - For 32 bit builds: `vcpkg install boost-filesystem boost-program-options boost-thread boost-python qt5-base`
+ - For 64 bit builds: `vcpkg install boost-filesystem:x64-windows boost-program-options:x64-windows boost-thread:x64-windows boost-python:x64-windows qt5-base:x64-windows`
+
Building
--------
@@ -25,6 +28,8 @@ Building
- For a debug build with HX1K support only, run ` cmake -DCMAKE_BUILD_TYPE=Debug -DICE40_HX1K_ONLY=1 .`
- For a release build, run `cmake .`
- Add `-DCMAKE_INSTALL_PREFIX=/your/install/prefix` to use a different install prefix to the default `/usr/local`
+ - For MSVC build with vcpkg use `cmake . -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake` using your vcpkg location
+ - For MSVC x64 build adding `-G"Visual Studio 14 2015 Win64"` is needed.
- Use Make to run the build itself
- For all binary targets, just run `make`
- For just the iCE40 CLI&GUI binary, run `make nextpnr-ice40`