diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2022-01-17 10:07:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 10:07:56 +0100 |
commit | 41e215219bf2b8fd9ec8df15229fb8dabfd5b53f (patch) | |
tree | f150203c92f0deedcf7b40227c502cd8bc3e983d | |
parent | 61324cf55fc5c5237161d4cee157c121fe115fa1 (diff) | |
download | yosys-41e215219bf2b8fd9ec8df15229fb8dabfd5b53f.tar.gz yosys-41e215219bf2b8fd9ec8df15229fb8dabfd5b53f.tar.bz2 yosys-41e215219bf2b8fd9ec8df15229fb8dabfd5b53f.zip |
Add info about VS build
-rw-r--r-- | guidelines/Windows | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/guidelines/Windows b/guidelines/Windows index 16ba57c9d..6cb91406c 100644 --- a/guidelines/Windows +++ b/guidelines/Windows @@ -37,6 +37,29 @@ Creating the Visual Studio Template Project 4. Zip YosysVS as YosysVS-Tpl-v1.zip +Compiling with Visual Studio +============================ + +Visual Studio builds are not directly supported by build scripts, but they are still possible. + +1. Easy way + + - Go to https://github.com/YosysHQ/yosys/actions/workflows/vs.yml?query=branch%3Amaster + - Click on first item + - In Artifacts region find vcxsrc and click on it to download + - Unpack downloaded ZIP file + - Open YosysVS.sln with Visual Studio + +2. Using WSL or MSYS2 + + - Make sure to have make, python3 and git available + - Git clone yosys repository + - Execute ```make vcxsrc YOSYS_VER=latest``` + - File yosys-win32-vcxsrc-latest.zip will be created + - Transfer that file to location visible by Windows application + - Unpack ZIP + - Open YosysVS.sln with Visual Studio + Cross-Building for Windows with MXE =================================== |