configured for successful windows built :)

--HG--
branch : develop
This commit is contained in:
cosina 2013-12-20 10:45:19 +01:00
parent e8b8630999
commit de862c7b7f

View File

@ -21,7 +21,7 @@ CONFIG += c++11
DESTDIR = bin DESTDIR = bin
# files created moc # files created moc
MOC_DIR = moc #MOC_DIR = moc
# objecs files # objecs files
OBJECTS_DIR = obj OBJECTS_DIR = obj
@ -49,9 +49,12 @@ OTHER_FILES += share/resources/valentina.rc \
share/resources/icon/64x64/icon64x64.ico share/resources/icon/64x64/icon64x64.ico
TRANSLATIONS += share/translations/valentina_ru.ts \ TRANSLATIONS += share/translations/valentina_ru.ts \
share/translations/valentina_uk.ts share/translations/valentina_uk.ts \
share/translations/valentina_de.ts
unix:QMAKE_CXX = ccache g++ QMAKE_CXX = g++
unix {
QMAKE_CXX = ccache g++
}
CONFIG += precompile_header CONFIG += precompile_header
# Precompiled headers (PCH) # Precompiled headers (PCH)
@ -65,7 +68,8 @@ CONFIG(debug, debug|release){
*-g++{ *-g++{
QMAKE_CXXFLAGS += -isystem "/usr/include/qt5" -isystem "/usr/include/qt5/QtWidgets" \ QMAKE_CXXFLAGS += -isystem "/usr/include/qt5" -isystem "/usr/include/qt5/QtWidgets" \
-isystem "/usr/include/qt5/QtXml" -isystem "/usr/include/qt5/QtGui" \ -isystem "/usr/include/qt5/QtXml" -isystem "/usr/include/qt5/QtGui" \
-isystem "/usr/include/qt5/QtCore" -isystem "$${UI_DIR}" -isystem "$${MOC_DIR}" \ -isystem "/usr/include/qt5/QtCore" -isystem "$${UI_DIR}" \
# -isystem "$${MOC_DIR}" \
-isystem "$${RCC_DIR}" \ -isystem "$${RCC_DIR}" \
-Og -Wall -Wextra -pedantic -Weffc++ -Woverloaded-virtual -Wctor-dtor-privacy \ -Og -Wall -Wextra -pedantic -Weffc++ -Woverloaded-virtual -Wctor-dtor-privacy \
-Wnon-virtual-dtor -Wold-style-cast -Wconversion -Winit-self \ -Wnon-virtual-dtor -Wold-style-cast -Wconversion -Winit-self \
@ -105,7 +109,7 @@ win32:RC_FILE = share/resources/valentina.rc
QMAKE_DISTCLEAN += $${DESTDIR}/* \ QMAKE_DISTCLEAN += $${DESTDIR}/* \
$${OBJECTS_DIR}/* \ $${OBJECTS_DIR}/* \
$${UI_DIR}/* \ $${UI_DIR}/* \
$${MOC_DIR}/* \ # $${MOC_DIR}/* \
$${RCC_DIR}/* $${RCC_DIR}/*
unix { unix {
@ -123,7 +127,8 @@ desktop.files += dist/$${TARGET}.desktop
pixmaps.path = $$DATADIR/pixmaps/ pixmaps.path = $$DATADIR/pixmaps/
pixmaps.files += dist/$${TARGET}.png pixmaps.files += dist/$${TARGET}.png
INSTALL_TRANSLATIONS += share/translations/valentina_ru.qm \ INSTALL_TRANSLATIONS += share/translations/valentina_ru.qm \
share/translations/valentina_uk.qm share/translations/valentina_uk.qm \
share/translations/valentina_de.qm \
translations.path = $$DATADIR/$${TARGET}/translations/ translations.path = $$DATADIR/$${TARGET}/translations/
translations.files = $$INSTALL_TRANSLATIONS translations.files = $$INSTALL_TRANSLATIONS
INSTALLS += target \ INSTALLS += target \