mercredi 31 janvier 2018

Cmake parse parameters into code

Can I parse a parameter out of a configuration file in cmake and paste this as a parameter into the C++ code?

I need to dynamically set the template value N for std::array<T,N> that depends on some system properties?

N = (a - b) / c

Where all should be system parameters.

Aucun commentaire:

Enregistrer un commentaire