sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
934 stars 312 forks source link

[Config] Use cmake-generator-expression to set cxx and c flags #4990

Closed fredroy closed 2 months ago

fredroy commented 2 months ago

It allows to differentiate C/C++/CUDA/(maybe other) flags which are passed through dependencies.

Fix compilation problem with

This should be propagated in a potential cleaning of SofaCUDA


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if