Skip to content

chinmaygarde/impellerpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImpellerPy

Python Bindings to Impeller. Flutters rendering engine.

Prerequisites

  • A C11 and C++20 compiler.
  • CMake (3.22 or above).
  • Git.
  • Ninja.
  • vcpkg for package management.
    • Ensure that the VCPKG_ROOT environment variable is present and valid.
  • vcpkg compiles cpython3. To do that successfully on macOS, you need to invoke the following:
    • On macOS:
      brew install autoconf automake autoconf-archive
    • On Linux:
      sudo apt-get install -y autoconf automake autoconf-archive
    • Look in the failure log for details on dependencies on other platforms.

Building

Important

Make sure you have completed all pre-requisites. The first time you build, vcpkg will attempt to pull and build all dependencies. This will take a while. But the results will be cached.

This project uses the CMake build system but use Make for tasks. Using Make is optional but makes things easier.

  • Fetch all submodules.
    make sync
  • Build the default CMake preset.
    make