move non-string version info to common header

pull/787/head
Rick V 5 years ago
parent 51279075d8
commit 6205e96c36
No known key found for this signature in database
GPG Key ID: C0EDC8723FDC3465

@ -1,6 +1,10 @@
#ifndef LLARP_VERSION_HPP
#define LLARP_VERSION_HPP
#if defined(_WIN32) && defined(RC_INVOKED)
#define LLARP_VERSION 0,5,0,0
#else
#ifndef LLARP_VERSION_MAJ
#define LLARP_VERSION_MAJ "0"
#endif
@ -33,5 +37,5 @@ struct Version
{
static const char LLARP_NET_ID[];
};
#endif
#endif

@ -7,6 +7,7 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#include <llarp/constants/version.hpp>
#ifdef __GNUC__
#include <winresrc.h>
#endif
@ -60,8 +61,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,5,0,0
PRODUCTVERSION 0,5,0,0
FILEVERSION LLARP_VERSION
PRODUCTVERSION LLARP_VERSION
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x3L

@ -7,6 +7,7 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#include <llarp/constants/version.hpp>
#ifdef __GNUC__ // make windows rc accept this
#include <winresrc.h>
#endif
@ -60,8 +61,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,5,0,0
PRODUCTVERSION 0,5,0,0
FILEVERSION LLARP_VERSION
PRODUCTVERSION LLARP_VERSION
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x3L

@ -7,6 +7,7 @@
// Microsoft Visual C++ generated resource script.
//
#include <win32/resource.h>
#include <constants/version.hpp>
#ifdef __GNUC__
#include <winresrc.h>
#endif
@ -60,8 +61,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,5,0,0
PRODUCTVERSION 0,5,0,0
FILEVERSION LLARP_VERSION
PRODUCTVERSION LLARP_VERSION
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x3L

Loading…
Cancel
Save