Skip to content

Commit

Permalink
Export out the ComplexVersion namespace symbols
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson committed Oct 26, 2023
1 parent 8e27220 commit 11334d0
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions cmake/ComplexVersion.hpp
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
#pragma once

#include "complex/complex_export.hpp"

#include <string>

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();
Expand Down

0 comments on commit 11334d0

Please sign in to comment.