jnikula / hawkmoth

Hawkmoth - Sphinx Autodoc for C
https://jnikula.github.io/hawkmoth/
BSD 2-Clause "Simplified" License
74 stars 12 forks source link

test: define default clang args for testing #256

Closed jnikula closed 2 months ago

jnikula commented 2 months ago

For starters, define the language stardard to use. Use c17 and c++17, fairly arbitrarily. Tests can override this. We can remove the std option from template.yaml.

This is a bit more convoluted than should be necessary, for a few reasons:

Note that the parser selects the -x language option based on domain and filename suffix.

[1] https://github.com/jnikula/hawkmoth/issues/255

jnikula commented 2 months ago

Got a better idea, dropping this one.