/** * @file version.cpp * @author donkey (anjingyu_ws@foxmail.com) * @brief Implementation of \c ns::geo::version() * @version 0.1.0 * @date 2020-05-15 * * @copyright Copyright (c) 2020- donkey . * */ #include "geo/version.h" namespace ns { namespace geo { std::string version() { static const std::string VersionString = "UNKNOWN"; #if defined(DEBUG) return VersionString + " Debug"; #else /* !DEBUG */ return VersionString; #endif /* DEBUG */ } } // namespace geo } // namespace ns