Skip to content
This repository was archived by the owner on Aug 17, 2024. It is now read-only.
This repository was archived by the owner on Aug 17, 2024. It is now read-only.

CMakeLists.txt submission #2

@ar-visions

Description

@ar-visions

Thank you for representing the amazing line sweep algorithm. I used to use poly2tri and my own feathering vertex shader on strokes.. then made a bad move to skia, and now I'm back with vkvg and this really nice method to fill arb shapes.

cmake_minimum_required(VERSION 3.5)
project(glutess)

set(SOURCES
  dict.c
  geom.c
  main.c
  memalloc.c
  mesh.c
  normal.c
  priorityq-heap.c
  priorityq.c
  render.c
  sweep.c
  tess.c
  tessellate.c
  tessmono.c
)

set(HEADERS
  dict.h
  dict-list.h
  geom.h
  gluos.h
  glutess.h
  memalloc.h
  mesh.h
  normal.h
  priorityq-heap.h
  priorityq-sort.h
  priorityq.h
  render.h
  sweep.h
  tess.h
  tessellate.h
  tessmono.h
)

add_library(glutess ${SOURCES} ${HEADERS})

... This came from ChatGPT based on a paste of your directory listing with 'dir' on windows. I said you put one .h in the sources and then it adjusted it once. It seems to work for me so I thought I would paste it here. It saved me from downloading scons anyway, lol. Thank you again for this tried and tested method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions