diff --git a/addon/build_version.h b/addon/build_version.h new file mode 100644 index 0000000..8991107 --- /dev/null +++ b/addon/build_version.h @@ -0,0 +1,2 @@ +#define BUILD_VERSION_NAME "version: unknown" +#define BUILD_VERSION_REV 0 diff --git a/addon/d3d9_wrapper.cpp b/addon/d3d9_wrapper.cpp index 8f76ff6..b83df88 100644 --- a/addon/d3d9_wrapper.cpp +++ b/addon/d3d9_wrapper.cpp @@ -1,4 +1,5 @@ #include "stdafx.h" +#include "build_version.h" //gw2addon_get_description //gw2addon_load @@ -21,7 +22,7 @@ gw2al_addon_dsc gAddonDsc = { L"Wrapper for d3d9 API that includes hooking and custom d3d9 loading", 1, 0, - 2, + BUILD_VERSION_REV, gAddonDeps };