osquery-1/tools/windows_resources.rc.in
2017-12-12 14:15:38 -08:00

56 lines
1.8 KiB
Plaintext

#include <windows.h>
#include "tools/wel/osquery.rc"
#define VER_FILEVERSION @OSQUERY_PRODUCT_NUMBER@,@OSQUERY_PRODUCT_VERSION@,@OSQUERY_BUILD_NUMBER@,0
#define VER_FILEVERSION_STR "@OSQUERY_BUILD_VERSION@.0\0"
#define VER_PRODUCTVERSION @OSQUERY_PRODUCT_NUMBER@,@OSQUERY_PRODUCT_VERSION@,@OSQUERY_BUILD_NUMBER@,0
#define VER_PRODUCTVERSION_STR "@OSQUERY_BUILD_VERSION@\0"
#define VER_COMPANYNAME_STR "Facebook"
#define VER_FILEDESCRIPTION_STR "osquery daemon and shell"
#define VER_INTERNALNAME_STR "osquery"
#define VER_LEGALCOPYRIGHT_STR "Copyright (c) 2014-present, Facebook, Inc. All rights reserved."
#define VER_ORIGINALFILENAME_STR "osqueryd.exe"
#define VER_PRODUCTNAME_STR "osquery"
#ifndef DEBUG
#define VER_DEBUG 0
#else
#define VER_DEBUG VS_FF_DEBUG
#endif
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
PRODUCTVERSION VER_PRODUCTVERSION
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", VER_COMPANYNAME_STR
VALUE "FileDescription", VER_FILEDESCRIPTION_STR
VALUE "FileVersion", VER_FILEVERSION_STR
VALUE "InternalName", VER_INTERNALNAME_STR
VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
VALUE "ProductName", VER_PRODUCTNAME_STR
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END