hiredis :
- aggiunto file .rc.
This commit is contained in:
@@ -64,9 +64,16 @@ else()
|
||||
set( ARCH_SUFFIX "32")
|
||||
endif()
|
||||
|
||||
target_sources( hiredis PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/version.rc)
|
||||
|
||||
set( HIREDIS_EGTDEV_DIR "C:/EgtDev/Extern/hiredis")
|
||||
set( HIREDIS_EGTPROG_DIR "C:/EgtProg")
|
||||
|
||||
# per .rc
|
||||
if ( WIN32 AND CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
target_compile_definitions( hiredis PRIVATE _WIN64)
|
||||
endif()
|
||||
|
||||
# Imposta proprietà per tutte le configurazioni
|
||||
set_target_properties(hiredis PROPERTIES
|
||||
# Direttori
|
||||
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
#include <windows.h>
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,3,0,0
|
||||
PRODUCTVERSION 1,3,0,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
FILEFLAGS 0x0L
|
||||
FILEOS VOS__WINDOWS32
|
||||
FILETYPE VFT_DLL
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "FileDescription", "Hiredis Redis Client Library"
|
||||
VALUE "FileVersion", "1.3.0.0"
|
||||
VALUE "InternalName", "hiredis"
|
||||
VALUE "OriginalFilename", "hiredis.dll"
|
||||
#ifdef _DEBUG
|
||||
#ifdef _WIN64
|
||||
VALUE "ProductName", "Hiredis Library Debug 64-bit"
|
||||
#else
|
||||
VALUE "ProductName", "Hiredis Library Debug 32-bit"
|
||||
#endif
|
||||
#else
|
||||
#ifdef _WIN64
|
||||
VALUE "ProductName", "Hiredis Library Release 64-bit"
|
||||
#else
|
||||
VALUE "ProductName", "Hiredis Library Release 32-bit"
|
||||
#endif
|
||||
#endif
|
||||
VALUE "ProductVersion", "1.3.0.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x0409, 1200
|
||||
END
|
||||
END
|
||||
Reference in New Issue
Block a user