FEniCS / ffcx

Next generation FEniCS Form Compiler for finite element forms
https://fenicsproject.org
Other
145 stars 38 forks source link

Change to INTERFACE in C17 requirement for ufcx target #710

Closed jhale closed 2 months ago

jhale commented 2 months ago

Fixes #709 - unsure why we didn't pick this up on CI.

The purpose of this change is so that consuming C++ libraries don't have to enable the C17 standard manually themselves.

jhale commented 2 months ago

We should probably consider adding a barebones CMake test that generates a kernel and builds a very basic C (or C++) program on top. Also useful as an example for our users who would like to use the generated code.