--- a/CMakeLists.txt Sun Aug 06 16:00:23 2006 +0000
+++ b/CMakeLists.txt Sun Aug 06 17:11:33 2006 +0000
@@ -8,6 +8,10 @@
add_subdirectory(hedgewars)
add_subdirectory(share)
+if(WIN32 AND NOT UNIX)
+ add_subdirectory(bin)
+endif(WIN32 AND NOT UNIX)
+
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Hedgewars, a turn-based strategy")
set(CPACK_PACKAGE_VENDOR "Hedgewars")
set(CPACK_PACKAGE_VERSION_MAJOR "0")
--- a/QTfrontend/CMakeLists.txt Sun Aug 06 16:00:23 2006 +0000
+++ b/QTfrontend/CMakeLists.txt Sun Aug 06 17:11:33 2006 +0000
@@ -61,3 +61,15 @@
${QT_QTMAIN_LIBRARY})
install(PROGRAMS "hedgewars${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION bin)
+
+
+if(WIN32 AND NOT UNIX)
+ string(REPLACE "\\" "/" QT_BIN_DIR $ENV{QTDIR}/bin)
+
+ install(FILES
+ "${QT_BIN_DIR}/QtNetwork4.dll"
+ "${QT_BIN_DIR}/QtGui4.dll"
+ "${QT_BIN_DIR}/QtCore4.dll"
+ "${QT_BIN_DIR}/mingwm10.dll"
+ DESTINATION bin)
+endif(WIN32 AND NOT UNIX)
--- a/hedgewars/uConsts.pas Sun Aug 06 16:00:23 2006 +0000
+++ b/hedgewars/uConsts.pas Sun Aug 06 17:11:33 2006 +0000
@@ -181,8 +181,8 @@
Name: 'DejaVuSans.ttf')
);
- PathPrefix: shortstring = './';
- Pathz: array[TPathType] of string[ 64] = (
+ PathPrefix: string = './';
+ Pathz: array[TPathType] of string = (
'', // ptNone
'Data', // ptData
'Data/Graphics', // ptGraphics