wanna see something cursed? so, i needed to build abc with yosys' new cmake buil...

@whitequark@treehouse.systems

wanna see something cursed?

so, i needed to build abc with yosys' new cmake build system. abc does have a cmake build system. it works by shelling out to make to print the list of sources and flags, then turns that into a cmake library.

i really didn't like that this meant you need not just your chosen build runner (eg Ninja) installed but also Make. so i implemented a makefile parser in cmake