to allow simpler management of the version, only declare it in
CMakeLists.txt project command and use that to set it in the code
require the minimal version needed to get c++17
rikmills | |
ngraham |
Elisa |
to allow simpler management of the version, only declare it in
CMakeLists.txt project command and use that to set it in the code
require the minimal version needed to get c++17
tests are OK
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Instead of reusing config-upnp-qt.h (whose name seems a bit off, considering what that file contains), IMHO it is better to use a separate version header.
You can use the ECMSetupVersion module from ECM for this.