Home

Awesome

Purpose

This set of scripts will build the requisites for KLayout builds with MSVC 2017, both for 32 and 64bit. These are:

Requirements

For (1) use MSYS2:

For (2) use cmake for Windows: https://cmake.org/files/v3.12/cmake-3.12.1-win64-x64.msi

For (3) use Strawberry Perl from http://strawberryperl.com

For (4) use NASM from https://www.nasm.us

For (5) use Anaconda3 from https://repo.anaconda.com/archive/Anaconda3-2021.05-Windows-x86_64.exe

Note: cmake and perl must be taken from the Windows installation! Make sure they are in the path before MSYS2 components.

Script Usage

Set TEMP environment variable to a suitable build directory.

To build all:

buildall.bat -t <installation dir>

To build 32 bit only:

buildall.bat -32 ...