aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-08-24 13:44:29 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-08-24 13:44:29 +0200
commit700a6dee1e9b6a1b5b28bab9dca9d7f9996823f5 (patch)
tree4735bea51c6b4ef1b0620ddc29ab608a41441f91
parentb86d4575dc98337723f447cc645c0ab0a7f92b21 (diff)
downloadperl-starter-700a6dee1e9b6a1b5b28bab9dca9d7f9996823f5.tar.gz
link kephra.manifest as resource into binary
-rw-r--r--Makefile2
-rw-r--r--icon.rc3
-rw-r--r--kephra.manifest22
3 files changed, 26 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 507fbb7..c5d952a 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ all : kephra.exe
starter_xsi.c:
$(PERL) -MExtUtils::Embed -e xsinit -- -o $@
-icon.o : icon.rc kephra_proton.ico
+icon.o : icon.rc kephra_proton.ico kephra.manifest
$(RC) $< $@
kephra.exe : starter.o starter_xsi.o icon.o
diff --git a/icon.rc b/icon.rc
index 7ea9e51..7e7262c 100644
--- a/icon.rc
+++ b/icon.rc
@@ -1 +1,4 @@
+#include <winuser.h>
+
DEFAULT ICON "kephra_proton.ico"
+1 RT_MANIFEST "kephra.manifest"
diff --git a/kephra.manifest b/kephra.manifest
new file mode 100644
index 0000000..876a8e1
--- /dev/null
+++ b/kephra.manifest
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+ <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <assemblyIdentity
+ processorArchitecture="x86"
+ version="5.1.0.0"
+ type="win32"
+ name="Controls"
+ />
+ <description>MOM Client Application</description>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity
+ type="win32"
+ name="Microsoft.Windows.Common-Controls"
+ version="6.0.0.0"
+ publicKeyToken="6595b64144ccf1df"
+ language="*"
+ processorArchitecture="x86"
+ />
+ </dependentAssembly>
+ </dependency>
+ </assembly>