diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-28 01:28:51 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-28 01:28:51 -0400 |
commit | 85b07a94d7d0c54e221dbbb8333870beb47bb3ac (patch) | |
tree | 7a3300c7fb0bb57e40f3f226b2c1d350384ab864 /src/modules.cpp | |
parent | 2e4099e9f2bdcfab963c1e86a3f02d6b3c1b0048 (diff) |
Fix version system so it doesn't cause the entire build tree to get rebuilt just because version.h gets regenerated, thanks to Adam for initial patch.
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index c32544aa4..fda941e50 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -407,3 +407,8 @@ void ModuleRunTimeDirCleanUp() #endif Alog(LOG_DEBUG) << "Module run time directory has been cleaned out"; } + +Version Module::GetVersion() +{ + return Version(VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD); +} |