diff --git a/VCMI_global.props b/VCMI_global.props
index 273d77434..1cdc364cb 100644
--- a/VCMI_global.props
+++ b/VCMI_global.props
@@ -1,11 +1,14 @@
-
+
+
+
<_PropertySheetDisplayName>VCMI_global
$(SolutionDir)..\libs\$(PlatformShortName);$(VCMI_Out);$(LibraryPath)
$(SolutionDir)..\include;$(IncludePath)
+ $(VCMI_Out)\
@@ -17,4 +20,4 @@
-
+
\ No newline at end of file
diff --git a/VCMI_global_user.props b/VCMI_global_user.props
new file mode 100644
index 000000000..ff50d9f7c
--- /dev/null
+++ b/VCMI_global_user.props
@@ -0,0 +1,14 @@
+
+
+
+
+ C:\Qt\Qt5.1.0-32-no-opengl\5.1.0\msvc2012\
+
+
+
+
+
+ $(QTDIR)
+
+
+
\ No newline at end of file
diff --git a/launcher/VCMI_launcher.vcxproj b/launcher/VCMI_launcher.vcxproj
index 4e31bcae2..87ca06bba 100644
--- a/launcher/VCMI_launcher.vcxproj
+++ b/launcher/VCMI_launcher.vcxproj
@@ -34,63 +34,47 @@
+
+
+
+
- false
- ..\..
- $(SolutionDir)..\include;$(IncludePath)
+ .\GeneratedFiles;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QtDir)\include;$(IncludePath)
+ $(QtDir)\lib;$(LibraryPath)
- ..\..
- $(SolutionDir)..\include;$(IncludePath)
- $(SolutionDir)..\libs\$(PlatformShortName);$(VCMI_Out);$(LibraryPath)
+ .\GeneratedFiles;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QtDir)\include;$(IncludePath)
+ $(QtDir)\lib;$(LibraryPath)
Use
- Level3
- Disabled
- WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
- true
- F:\Programowanie\VCMI\include;.;%(AdditionalIncludeDirectories);E:\Programowanie\Biblioteki\QT\5.1.0\msvc2012_64\include;$(QTDIR)\include
StdInc.h
+ /Zm150 %(AdditionalOptions)
+
- Windows
- true
- ..\..\libs;..\..;E:\Programowanie\Biblioteki\QT\5.1.0\msvc2012_64\lib
- E:\Programowanie\Biblioteki\QT\5.1.0\msvc2012_64\lib;%(AdditionalDependencies)
+ VCMI_lib.lib;Qt5Cored.lib;Qt5Guid.lib;Qt5Widgetsd.lib;Qt5Networkd.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
- Level3
- Create
- MaxSpeed
- true
- true
- WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
- true
- F:\Programowanie\VCMI\include;.;%(AdditionalIncludeDirectories);$(QTDIR)\include;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE
+ Use
+ Full
StdInc.h
- /Zm135 %(AdditionalOptions)
+ /Zm150 %(AdditionalOptions)
- Windows
- true
- true
- true
VCMI_lib.lib;Qt5Core.lib;Qt5Gui.lib;Qt5Widgets.lib;Qt5Network.lib;%(AdditionalDependencies)
- ..\..\libs;..\..;$(QTDIR)\lib
- /ENTRY:"mainCRTStartup" %(AdditionalOptions)
@@ -106,115 +90,72 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+ true
+ true
+
+
+ true
+ true
+
+
+ Create
+ Create
+ Create
+ Create
+
+
-
-
-
-
- $(QTDIR)\bin\moc.exe "%(FullPath)" -o "%(RootDir)%(Directory)moc_%(Filename).cpp"
- Compiling %(Filename)%(Extension) using MOC
- %(RootDir)%(Directory)moc_%(Filename).cpp
+
+
+
+ $(QTDIR)\bin\moc.exe;%(FullPath)
+ Moc%27ing %(Filename) file...
+ .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp
+ "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" "-fStdInc.h" "-f..\..\%(RecursiveDir)%(Filename).h" -DUNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB "-I.\GeneratedFiles" "-I." "-I$(QTDIR)\include" "-I.\GeneratedFiles\$(ConfigurationName)\." "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtSvg"
+ $(QTDIR)\bin\moc.exe;%(FullPath)
+ Moc%27ing %(Filename) file...
+ .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp
+ "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" "-fStdInc.h" "-f..\..\%(RecursiveDir)%(Filename).h" -DUNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB "-I.\GeneratedFiles" "-I." "-I$(QTDIR)\include" "-I.\GeneratedFiles\$(ConfigurationName)\." "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtSvg"
+ $(QTDIR)\bin\moc.exe;%(FullPath)
+ Moc%27ing some file...
+ .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp
+ "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" "-fStdInc.h" "-f..\..\%(RecursiveDir)%(Filename).h" -DUNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB "-I.\GeneratedFiles" "-I." "-I$(QTDIR)\include" "-I.\GeneratedFiles\$(ConfigurationName)\." "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtSvg"
+ $(QTDIR)\bin\moc.exe;%(FullPath)
+ Moc%27ing %(Filename) file...
+ .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp
+ "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" "-fStdInc.h" "-f..\..\%(RecursiveDir)%(Filename).h" -DUNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB "-I.\GeneratedFiles" "-I." "-I$(QTDIR)\include" "-I.\GeneratedFiles\$(ConfigurationName)\." "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtSvg"
-
- $(QTDIR)\bin\moc.exe "%(FullPath)" -o "%(RootDir)%(Directory)moc_%(Filename).cpp"
- Compiling %(Filename)%(Extension) using MOC
- %(RootDir)%(Directory)moc_%(Filename).cpp
-
-
-
- $(QTDIR)\bin\moc.exe "%(FullPath)" -o "%(RootDir)%(Directory)moc_%(Filename).cpp"
- Compiling %(Filename)%(Extension) using MOC
- %(RootDir)%(Directory)moc_%(Filename).cpp
-
-
- false
- %(RootDir)%(Directory)moc_%(Filename).cpp
- Compiling %(Filename)%(Extension) using MOC
- $(QTDIR)\bin\moc.exe "%(FullPath)" -o "%(RootDir)%(Directory)moc_%(Filename).cpp"
-
-
-
-
-
-
- false
- %(RootDir)%(Directory)moc_%(Filename).cpp
- Compiling %(Filename)%(Extension) using MOC
- $(QTDIR)\bin\moc.exe "%(FullPath)" -o "%(RootDir)%(Directory)moc_%(Filename).cpp"
-
-
-
-
-
-
- false
-
-
-
-
-
-
-
-
-
- false
- %(RootDir)%(Directory)moc_%(Filename).cpp
- $(QTDIR)\bin\moc.exe "%(FullPath)" -o "%(RootDir)%(Directory)ui_%(Filename).cpp"
- Compiling %(Filename)%(Extension) using MOC
-
-
-
- false
- %(RootDir)%(Directory)moc_%(Filename).cpp
- Compiling %(Filename)%(Extension) using MOC
- $(QTDIR)\bin\moc.exe "%(FullPath)" -o "%(RootDir)%(Directory)ui_%(Filename).cpp"
-
-
- false
- %(RootDir)%(Directory)moc_%(Filename).cpp
- Compiling %(Filename)%(Extension) using MOC
-
-
-
-
- Compiling %(Filename)%(Extension) using MOC
-
-
-
-
-
- false
- %(RootDir)%(Directory)moc_%(Filename).cpp
- Compiling %(Filename)%(Extension) using MOC
- $(QTDIR)\bin\moc.exe "%(FullPath)" -o "%(RootDir)%(Directory)ui_%(Filename).cpp"
-
-
-
-
-
-
- Document
- $(QTDIR)\bin\uic.exe "%(FullPath)" -o "%(RootDir)%(Directory)ui_%(Filename).h"
- Compiling %(Filename)%(Extension) using UIC
- %(RootDir)%(Directory)ui_%(Filename).h
- Designer
-
-
- Document
- $(QTDIR)\bin\uic.exe "%(FullPath)" -o "%(RootDir)%(Directory)ui_%(Filename).h"
- Compiling %(Filename)%(Extension) using UIC
- %(RootDir)%(Directory)ui_%(Filename).h
-
-
- Document
- $(QTDIR)\bin\uic.exe "%(FullPath)" -o "%(RootDir)%(Directory)ui_%(Filename).h"
- Compiling %(Filename)%(Extension) using UIC
- %(RootDir)%(Directory)ui_%(Filename).h
+
+ $(QTDIR)\bin\uic.exe;%(AdditionalInputs)
+ Uic%27ing %(Identity)...
+ .\GeneratedFiles\ui_%(Filename).h;%(Outputs)
+ "$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"
+ $(QTDIR)\bin\uic.exe;%(AdditionalInputs)
+ Uic%27ing %(Identity)...
+ .\GeneratedFiles\ui_%(Filename).h;%(Outputs)
+ "$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"
+ $(QTDIR)\bin\uic.exe;%(AdditionalInputs)
+ Uic%27ing %(Identity)...
+ .\GeneratedFiles\ui_%(Filename).h;%(Outputs)
+ "$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"
+ $(QTDIR)\bin\uic.exe;%(AdditionalInputs)
+ Uic%27ing %(Identity)...
+ .\GeneratedFiles\ui_%(Filename).h;%(Outputs)
+ "$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"
diff --git a/launcher/modManager/cdownloadmanager_moc.cpp b/launcher/modManager/cdownloadmanager_moc.cpp
index 4c963b7f8..7001bdc51 100644
--- a/launcher/modManager/cdownloadmanager_moc.cpp
+++ b/launcher/modManager/cdownloadmanager_moc.cpp
@@ -1,7 +1,7 @@
#include "StdInc.h"
#include "cdownloadmanager_moc.h"
-#include "launcherdirs.h"
+#include "../launcherdirs.h"
CDownloadManager::CDownloadManager()
{
diff --git a/launcher/modManager/cmodlistview_moc.cpp b/launcher/modManager/cmodlistview_moc.cpp
index 9bd9648f6..bdd0b6e20 100644
--- a/launcher/modManager/cmodlistview_moc.cpp
+++ b/launcher/modManager/cmodlistview_moc.cpp
@@ -8,9 +8,9 @@
#include "cmodlistmodel_moc.h"
#include "cmodmanager.h"
#include "cdownloadmanager_moc.h"
-#include "launcherdirs.h"
+#include "../launcherdirs.h"
-#include "../lib/CConfigHandler.h"
+#include "../../lib/CConfigHandler.h"
void CModListView::setupModModel()
{
diff --git a/launcher/modManager/cmodlistview_moc.h b/launcher/modManager/cmodlistview_moc.h
index 97230ae66..8b8e4c672 100644
--- a/launcher/modManager/cmodlistview_moc.h
+++ b/launcher/modManager/cmodlistview_moc.h
@@ -1,6 +1,6 @@
#pragma once
-#include "Global.h"
+#include "../../Global.h"
#include "../../lib/CConfigHandler.h"
namespace Ui {
diff --git a/launcher/modManager/cmodmanager.cpp b/launcher/modManager/cmodmanager.cpp
index 15bcf8c61..e69694005 100644
--- a/launcher/modManager/cmodmanager.cpp
+++ b/launcher/modManager/cmodmanager.cpp
@@ -1,9 +1,9 @@
#include "StdInc.h"
#include "cmodmanager.h"
-#include "../lib/VCMIDirs.h"
-#include "../lib/filesystem/Filesystem.h"
-#include "../lib/filesystem/CZipLoader.h"
+#include "../../lib/VCMIDirs.h"
+#include "../../lib/filesystem/Filesystem.h"
+#include "../../lib/filesystem/CZipLoader.h"
#include "../launcherdirs.h"
diff --git a/launcher/settingsView/csettingsview_moc.cpp b/launcher/settingsView/csettingsview_moc.cpp
index 9dfbdc2b3..88f319498 100644
--- a/launcher/settingsView/csettingsview_moc.cpp
+++ b/launcher/settingsView/csettingsview_moc.cpp
@@ -2,8 +2,8 @@
#include "csettingsview_moc.h"
#include "ui_csettingsview_moc.h"
-#include "../lib/CConfigHandler.h"
-#include "../lib/VCMIDirs.h"
+#include "../../lib/CConfigHandler.h"
+#include "../../lib/VCMIDirs.h"
void CSettingsView::loadSettings()
{