Finding link-time CEGUI version
Posted: Sun Jun 12, 2011 19:09
Hi,
I have seen that System::initialiseVersionString() updates d_strVersion, which apparently is private and has no public accessor.
It would be nice if a user program could retrieve easily the version of the CEGUI library it has been dynamically linked to, either as three numbers or as a string (ex: "0.7.5"). That way some checking could be done, and more generally this information could be useful for user-level code.
Unless there is another way of retrieving that version number?
(as for the compile-time version, it seems to be available from include/CEGUIVersion.h (#define CEGUI_VERSION_MINOR and al))
Thanks,
Olivier Boudeville.
I have seen that System::initialiseVersionString() updates d_strVersion, which apparently is private and has no public accessor.
It would be nice if a user program could retrieve easily the version of the CEGUI library it has been dynamically linked to, either as three numbers or as a string (ex: "0.7.5"). That way some checking could be done, and more generally this information could be useful for user-level code.
Unless there is another way of retrieving that version number?
(as for the compile-time version, it seems to be available from include/CEGUIVersion.h (#define CEGUI_VERSION_MINOR and al))
Thanks,
Olivier Boudeville.