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:
parent
51279075d8
commit
6205e96c36
4 changed files with 14 additions and 7 deletions
|
@ -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…
Reference in a new issue