diff options
| author | 2008-06-29 17:07:15 +0000 | |
|---|---|---|
| committer | 2008-06-29 17:07:15 +0000 | |
| commit | c8d5efea5d14cf2b3be93e62d0ec2efc9bb91a30 (patch) | |
| tree | 788f5158b6fd0b04ccb9e3cd208c62e5636aeeb6 | |
| parent | updated win32.compiling.2.0.txt, thx theXception (diff) | |
| download | KVIrc-c8d5efea5d14cf2b3be93e62d0ec2efc9bb91a30.tar.gz KVIrc-c8d5efea5d14cf2b3be93e62d0ec2efc9bb91a30.tar.bz2 KVIrc-c8d5efea5d14cf2b3be93e62d0ec2efc9bb91a30.zip | |
added resources for kvirc executable
fixed win32.compiling.2.0.txt
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1965 17fca916-40b9-46aa-a4ea-0a15b648b75c
| -rw-r--r-- | data/resources_win32/kvirc.rc | 36 | ||||
| -rw-r--r-- | doc/win32.compiling.2.0.txt | 3 | ||||
| -rw-r--r-- | src/kvirc/CMakeLists.txt | 9 |
3 files changed, 46 insertions, 2 deletions
diff --git a/data/resources_win32/kvirc.rc b/data/resources_win32/kvirc.rc index 1db6ddcf1..dbd29b9df 100644 --- a/data/resources_win32/kvirc.rc +++ b/data/resources_win32/kvirc.rc @@ -26,4 +26,38 @@ END BEGIN
"\r\n"
"\0"
-END
\ No newline at end of file +END
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 4,0,0,0
+ PRODUCTVERSION 4,0,0,0
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x1L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "000004b0"
+ BEGIN
+ VALUE "CompanyName", "KVIrc Development Team"
+ VALUE "FileDescription", "K Visual IRC Client Executable"
+ VALUE "FileVersion", "4, 0, 0, 0"
+ VALUE "InternalName", "KVIrc"
+ VALUE "LegalCopyright", "Copyright (C) 2008"
+ VALUE "OriginalFilename", "kvirc.exe"
+ VALUE "ProductName", "K Visual IRC Client"
+ VALUE "ProductVersion", "4, 0, 0, 0"
+ END
+ END
+END
diff --git a/doc/win32.compiling.2.0.txt b/doc/win32.compiling.2.0.txt index f303a90d1..943163d9f 100644 --- a/doc/win32.compiling.2.0.txt +++ b/doc/win32.compiling.2.0.txt @@ -57,7 +57,8 @@ Requisites: The package you want is called "gettext-tools-0.13.1.bin.woe32.zip" (version number may vary).
- Phonon smplayer/vlc frontend for Mingw:
- [Multimedia library; needed to play multimedia files using phonon without using ms's directshow, optional]
+ [Multimedia library; needed to play multimedia files using phonon, optional]
+ (For the little story, the default Windows backend for Phonon is based on DirectShow 9 and MinGW is not capable of compiling DS9 code, that's why Trolltech doesn't ship Phonon with Qt-4.4 MinGW)
Get it at http://code.google.com/p/phonon-vlc-mplayer/; it needs some tweaking to work;
Please refer to the "Getting phonon to work with mplayer frontend" at the end of this document.
diff --git a/src/kvirc/CMakeLists.txt b/src/kvirc/CMakeLists.txt index d01850e51..93b953c7c 100644 --- a/src/kvirc/CMakeLists.txt +++ b/src/kvirc/CMakeLists.txt @@ -438,6 +438,15 @@ ELSE() SET(KVIRC_BINARYNAME ${PACKAGE}) SET(KVILIB_BINARYNAME kvilib) ENDIF() +
+IF(MINGW)
+ # resource compilation for mingw
+ ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/win32_resource.o
+ COMMAND windres.exe -I${CMAKE_SOURCE_DIR}/data/resources_win32/ -i${CMAKE_SOURCE_DIR}/data/resources_win32/kvirc.rc -o${CMAKE_CURRENT_BINARY_DIR}/win32_resource.o
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/data/resources_win32
+ )
+ LIST(APPEND kvirc_SRCS ${CMAKE_CURRENT_BINARY_DIR}/win32_resource.o)
+ENDIF()
ADD_EXECUTABLE(${KVIRC_BINARYNAME} ${kvirc_SRCS} ${kvirc_MOC_SRCS}) |
