From 11334d0e22a51c774ccf01e8ae668bb38a009313 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Wed, 25 Oct 2023 16:16:44 -0400 Subject: [PATCH] Export out the ComplexVersion namespace symbols Signed-off-by: Michael Jackson --- cmake/ComplexVersion.hpp | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/cmake/ComplexVersion.hpp b/cmake/ComplexVersion.hpp index f19bab37e8..4ec8d54e7f 100644 --- a/cmake/ComplexVersion.hpp +++ b/cmake/ComplexVersion.hpp @@ -1,23 +1,25 @@ #pragma once +#include "complex/complex_export.hpp" + #include namespace complex::Version { -std::string ApplicationName(); -std::string Complete(); -std::string Major(); -std::string Minor(); -std::string Patch(); -std::string Suffix(); -std::string Package(); -std::string PackageComplete(); -std::string BuildDate(); -std::string GitHashShort(); -std::string GitHash(); - -class AppVersion +COMPLEX_EXPORT std::string ApplicationName(); +COMPLEX_EXPORT std::string Complete(); +COMPLEX_EXPORT std::string Major(); +COMPLEX_EXPORT std::string Minor(); +COMPLEX_EXPORT std::string Patch(); +COMPLEX_EXPORT std::string Suffix(); +COMPLEX_EXPORT std::string Package(); +COMPLEX_EXPORT std::string PackageComplete(); +COMPLEX_EXPORT std::string BuildDate(); +COMPLEX_EXPORT std::string GitHashShort(); +COMPLEX_EXPORT std::string GitHash(); + +class COMPLEX_EXPORT AppVersion { public: AppVersion();