You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Set version number in CMakeLists.txt
Version number gets sent to C code through preprocessor symbols
and to doxygen through environmental variables.
Also cleaned up printing of doxygen documentation to show only
major.minor at top of page but major.minor.patch in a note on
the main page.
Also did a bit more cleaning up of doxygen docs.
Users don't have access to version numbers now, because we are
basing them on CMake variables at our compile time, rather than
hard coding them in the header. What I think will make more sense
is to templatize the version.h file to actually paste those
numbers in there based on the values CMake is holding.
* Go back to hard coded version numbers in version.h
- Removed add_compile_definitions which needs a minimum of CMake 3.12
- Users have access to version numbers again, but we need to store
them in two places
* Auto generate version.h with the correct version numbers
This does almost everything we need with version numbers in both
C and Doxygen code, except for one thing:
version.h is not yet being properly installed on make install
* Make newly generated version.h file get installed properly
Also cleaned up some cruft in CMakeLists.txt
* bugfix: public version.h cannot depend on private/config.h
Reversed the order of the dependency and kept user agent
string stuff entirely in private header file. Public
version string no longer contains git repo info, but
user agent string still does.
* clang formatting
* Move user agent string stuff to separate private header file
Also remove version unit test that wasn't really a unit test
* style check fix
0 commit comments