[MBEDTLS] Add a resource file for the dll. By Ismael Ferreras Morezuelas with minor...
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 28 Sep 2015 12:09:26 +0000 (12:09 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 28 Sep 2015 12:09:26 +0000 (12:09 +0000)
svn path=/trunk/; revision=69397

reactos/dll/3rdparty/mbedtls/CMakeLists.txt
reactos/dll/3rdparty/mbedtls/mbedtls.rc [new file with mode: 0644]

index e3ea1cf..470c81f 100644 (file)
@@ -76,6 +76,7 @@ list(APPEND src
 
 add_library(mbedtls SHARED
     ${src}
 
 add_library(mbedtls SHARED
     ${src}
+    mbedtls.rc
     ${CMAKE_CURRENT_BINARY_DIR}/mbedtls.def)
 
 set_module_type(mbedtls win32dll)
     ${CMAKE_CURRENT_BINARY_DIR}/mbedtls.def)
 
 set_module_type(mbedtls win32dll)
diff --git a/reactos/dll/3rdparty/mbedtls/mbedtls.rc b/reactos/dll/3rdparty/mbedtls/mbedtls.rc
new file mode 100644 (file)
index 0000000..ff2b5a8
--- /dev/null
@@ -0,0 +1,21 @@
+#include <windef.h>
+#define POLARSSL_CONFIG_H
+#include <polarssl/version.h>
+
+LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
+
+#define REACTOS_VERSION_DLL
+#define REACTOS_STR_FILE_DESCRIPTION  POLARSSL_VERSION_STRING_FULL
+#define REACTOS_STR_PRODUCT_NAME      POLARSSL_VERSION_STRING_FULL
+#define REACTOS_STR_INTERNAL_NAME     "mbedtls"
+#define REACTOS_STR_ORIGINAL_FILENAME "mbedtls.dll"
+
+#define REACTOS_FILEVERSION POLARSSL_VERSION_MAJOR, \
+                            POLARSSL_VERSION_MINOR, \
+                            POLARSSL_VERSION_PATCH, \
+                            0
+
+#define REACTOS_STR_FILE_VERSION POLARSSL_VERSION_STRING
+
+#include <reactos/version.rc>
+#include <reactos/manifest_dll.rc>