[all] be smarter about getting the git version

This commit is contained in:
Geoffrey McRae
2020-10-09 02:17:20 +11:00
parent 76710ef201
commit e6c88a4af3
12 changed files with 71 additions and 39 deletions

View File

@@ -1,4 +1,5 @@
#include <obs/obs-module.h>
#include <common/version.h>
#include <stdio.h>
#ifdef _WIN32
@@ -17,6 +18,7 @@ extern struct obs_source_info lg_source;
MODULE_EXPORT bool obs_module_load(void)
{
printf("Looking Glass OBS Client (%s)\n", BUILD_VERSION);
obs_register_source(&lg_source);
return true;
}
@@ -31,4 +33,4 @@ int __stdcall DallMainCRTStartup(void* instance, unsigned reason, void* reserved
(void) reserved;
return 1;
}
#endif
#endif