1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

move non-string version info to common header

This commit is contained in:
Rick V 2019-08-30 08:38:21 -05:00
parent 51279075d8
commit 6205e96c36
No known key found for this signature in database
GPG key ID: C0EDC8723FDC3465
4 changed files with 14 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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