jhasse / poly2tri

2D constrained Delaunay triangulation library
BSD 3-Clause "New" or "Revised" License
439 stars 89 forks source link

Add CMake files for the unit tests and the testbed app #20

Closed pierre-dejoue closed 4 years ago

pierre-dejoue commented 4 years ago

In those commits building the unit tests and the testbed via cmake is optional, OFF by default, to prevent the clients of the library from pulling their dependencies (boost, glfw, etc.)

Running the unit tests was added to the Github Actions.

A note for Windows users: The tesbed has a dependency on GLFW, and CMake was not able find the package glfw3 from the pre-compiled binaries available for version 3.3.2, I ended up doing the following:

jhasse commented 4 years ago

Awesome stuff! Thank you :)

pierre-dejoue commented 4 years ago

You're welcome ;) Thanks for the merge!