2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
#qmake code
|
2012-09-05 16:29:19 +00:00
|
|
|
SOURCES += project.cpp property.cpp main.cpp \
|
2013-05-29 18:18:51 +00:00
|
|
|
library/ioutils.cpp library/proitems.cpp library/qmakevfs.cpp library/qmakeglobals.cpp \
|
2012-09-05 16:29:19 +00:00
|
|
|
library/qmakeparser.cpp library/qmakeevaluator.cpp library/qmakebuiltins.cpp \
|
|
|
|
generators/makefile.cpp \
|
2011-04-27 10:05:43 +00:00
|
|
|
generators/unix/unixmake2.cpp generators/unix/unixmake.cpp meta.cpp \
|
|
|
|
option.cpp generators/win32/winmakefile.cpp generators/win32/mingw_make.cpp \
|
|
|
|
generators/makefiledeps.cpp generators/metamakefile.cpp generators/mac/pbuilder_pbx.cpp \
|
2012-04-25 15:12:53 +00:00
|
|
|
generators/xmloutput.cpp \
|
2011-04-27 10:05:43 +00:00
|
|
|
generators/win32/msvc_nmake.cpp generators/projectgenerator.cpp \
|
|
|
|
generators/win32/msvc_vcproj.cpp \
|
|
|
|
generators/win32/msvc_vcxproj.cpp \
|
2016-03-09 13:59:20 +00:00
|
|
|
generators/win32/msvc_objectmodel.cpp generators/win32/msbuild_objectmodel.cpp
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2012-09-06 10:21:38 +00:00
|
|
|
HEADERS += project.h property.h \
|
2013-05-29 18:18:51 +00:00
|
|
|
library/qmake_global.h library/ioutils.h library/proitems.h library/qmakevfs.h library/qmakeglobals.h \
|
2012-09-05 16:29:19 +00:00
|
|
|
library/qmakeparser.h library/qmakeevaluator.h library/qmakeevaluator_p.h \
|
2012-09-06 10:21:38 +00:00
|
|
|
generators/makefile.h \
|
2011-04-27 10:05:43 +00:00
|
|
|
generators/unix/unixmake.h meta.h option.h cachekeys.h \
|
|
|
|
generators/win32/winmakefile.h generators/win32/mingw_make.h generators/projectgenerator.h \
|
|
|
|
generators/makefiledeps.h generators/metamakefile.h generators/mac/pbuilder_pbx.h \
|
2012-04-25 15:12:53 +00:00
|
|
|
generators/xmloutput.h generators/win32/msvc_nmake.h \
|
2011-04-27 10:05:43 +00:00
|
|
|
generators/win32/msvc_vcproj.h \
|
|
|
|
generators/win32/msvc_vcxproj.h \
|
2016-03-09 13:59:20 +00:00
|
|
|
generators/win32/msvc_objectmodel.h generators/win32/msbuild_objectmodel.h
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
bootstrap { #Qt code
|
|
|
|
SOURCES+= \
|
|
|
|
qbitarray.cpp \
|
|
|
|
qbuffer.cpp \
|
2012-03-27 09:21:27 +00:00
|
|
|
qarraydata.cpp \
|
2011-04-27 10:05:43 +00:00
|
|
|
qbytearray.cpp \
|
|
|
|
qbytearraymatcher.cpp \
|
|
|
|
qcryptographichash.cpp \
|
|
|
|
qdatetime.cpp \
|
|
|
|
qdir.cpp \
|
|
|
|
qdiriterator.cpp \
|
2012-02-26 09:05:39 +00:00
|
|
|
qfiledevice.cpp \
|
2011-04-27 10:05:43 +00:00
|
|
|
qfile.cpp \
|
|
|
|
qabstractfileengine.cpp \
|
|
|
|
qfileinfo.cpp \
|
|
|
|
qfilesystementry.cpp \
|
|
|
|
qfilesystemengine.cpp \
|
|
|
|
qfsfileengine.cpp \
|
|
|
|
qfsfileengine_iterator.cpp \
|
|
|
|
qglobal.cpp \
|
|
|
|
qnumeric.cpp \
|
|
|
|
qhash.cpp \
|
|
|
|
qiodevice.cpp \
|
|
|
|
qlist.cpp \
|
|
|
|
qlinkedlist.cpp \
|
|
|
|
qlocale.cpp \
|
2011-07-11 13:24:55 +00:00
|
|
|
qlocale_tools.cpp \
|
2011-04-27 10:05:43 +00:00
|
|
|
qmalloc.cpp \
|
|
|
|
qmap.cpp \
|
|
|
|
qmetatype.cpp \
|
|
|
|
qregexp.cpp \
|
|
|
|
qtextcodec.cpp \
|
|
|
|
qutfcodec.cpp \
|
|
|
|
qstring.cpp \
|
2013-10-09 19:14:01 +00:00
|
|
|
qstring_compat.cpp \
|
2011-04-27 10:05:43 +00:00
|
|
|
qstringlist.cpp \
|
|
|
|
qtemporaryfile.cpp \
|
|
|
|
qtextstream.cpp \
|
|
|
|
quuid.cpp \
|
|
|
|
qsettings.cpp \
|
|
|
|
qlibraryinfo.cpp \
|
|
|
|
qsystemerror.cpp \
|
|
|
|
qvariant.cpp \
|
2017-01-07 09:23:47 +00:00
|
|
|
qversionnumber.cpp \
|
2011-04-27 10:05:43 +00:00
|
|
|
qvsnprintf.cpp \
|
|
|
|
qxmlstream.cpp \
|
2012-02-03 08:35:22 +00:00
|
|
|
qxmlutils.cpp \
|
2013-09-05 05:55:49 +00:00
|
|
|
qlogging.cpp \
|
|
|
|
qjson.cpp \
|
|
|
|
qjsondocument.cpp \
|
|
|
|
qjsonparser.cpp \
|
|
|
|
qjsonarray.cpp \
|
|
|
|
qjsonobject.cpp \
|
|
|
|
qjsonvalue.cpp
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
HEADERS+= \
|
|
|
|
qbitarray.h \
|
|
|
|
qbuffer.h \
|
2012-03-27 09:21:27 +00:00
|
|
|
qarraydata.h \
|
2011-04-27 10:05:43 +00:00
|
|
|
qbytearray.h \
|
2012-03-27 09:21:27 +00:00
|
|
|
qarraydataops.h \
|
|
|
|
qarraydatapointer.h \
|
2011-04-27 10:05:43 +00:00
|
|
|
qbytearraymatcher.h \
|
|
|
|
qchar.h \
|
|
|
|
qcryptographichash.h \
|
|
|
|
qdatetime.h \
|
|
|
|
qdatetime_p.h \
|
|
|
|
qdir.h \
|
|
|
|
qdir_p.h \
|
|
|
|
qdiriterator.h \
|
|
|
|
qfile.h \
|
2012-02-17 19:09:17 +00:00
|
|
|
qabstractfileengine_p.h \
|
2011-04-27 10:05:43 +00:00
|
|
|
qfileinfo.h \
|
|
|
|
qglobal.h \
|
|
|
|
qnumeric.h \
|
|
|
|
qhash.h \
|
|
|
|
qiodevice.h \
|
|
|
|
qlist.h \
|
|
|
|
qlinkedlist.h \
|
|
|
|
qlocale.h \
|
2011-07-11 13:24:55 +00:00
|
|
|
qlocale_tools_p.h \
|
2011-04-27 10:05:43 +00:00
|
|
|
qmalloc.h \
|
|
|
|
qmap.h \
|
|
|
|
qmetatype.h \
|
|
|
|
qregexp.h \
|
|
|
|
qtextcodec.h \
|
|
|
|
qutfcodec.h \
|
|
|
|
qstring.h \
|
|
|
|
qstringlist.h \
|
|
|
|
qstringmatcher.h \
|
|
|
|
qsystemerror_p.h \
|
|
|
|
qtemporaryfile.h \
|
|
|
|
qtextstream.h \
|
|
|
|
quuid.h \
|
|
|
|
qvector.h \
|
2017-01-07 09:23:47 +00:00
|
|
|
qversionnumber.h \
|
2011-04-27 10:05:43 +00:00
|
|
|
qxmlstream.h \
|
2013-09-05 05:55:49 +00:00
|
|
|
qxmlutils.h \
|
|
|
|
qjson.h \
|
|
|
|
qjsondocument.h \
|
|
|
|
qjsonparser.h \
|
|
|
|
qjsonwriter.h \
|
|
|
|
qjsonarray.h \
|
|
|
|
qjsonobject.h \
|
|
|
|
qjsonvalue.h
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
unix {
|
|
|
|
SOURCES += qfilesystemengine_unix.cpp qfilesystemiterator_unix.cpp qfsfileengine_unix.cpp
|
|
|
|
mac {
|
2017-02-13 14:24:36 +00:00
|
|
|
SOURCES += qcore_mac.cpp qsettings_mac.cpp qcore_mac_objc.mm qlocale_mac.mm
|
2014-06-13 22:59:30 +00:00
|
|
|
LIBS += -framework ApplicationServices -framework CoreServices -framework Foundation
|
2012-07-26 17:47:33 +00:00
|
|
|
} else {
|
|
|
|
SOURCES += qlocale_unix.cpp
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
|
|
|
} else:win32 {
|
|
|
|
SOURCES += qfilesystemengine_win.cpp qfsfileengine_win.cpp qfilesystemiterator_win.cpp qsettings_win.cpp \
|
2012-07-26 17:47:33 +00:00
|
|
|
qsystemlibrary.cpp qlocale_win.cpp registry.cpp
|
2017-07-09 20:58:26 +00:00
|
|
|
win32-msvc*:LIBS += ole32.lib advapi32.lib netapi32.lib
|
|
|
|
mingw:LIBS += -lole32 -luuid -ladvapi32 -lkernel32 -lnetapi32
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
qnx {
|
|
|
|
CFLAGS += -fhonor-std
|
|
|
|
LFLAGS += -lcpp
|
|
|
|
}
|
2013-10-31 15:39:55 +00:00
|
|
|
|
2016-09-16 12:37:16 +00:00
|
|
|
DEFINES += QT_BOOTSTRAPPED
|
2013-10-31 15:39:55 +00:00
|
|
|
|
|
|
|
INCLUDEPATH += \
|
|
|
|
$$QT.core.includes $$QT.core_private.includes \
|
|
|
|
$$shadowed(../src/corelib/global)
|
2011-04-27 10:05:43 +00:00
|
|
|
} else {
|
2012-07-26 17:47:33 +00:00
|
|
|
CONFIG += qt
|
2011-04-27 10:05:43 +00:00
|
|
|
QT = core
|
|
|
|
}
|
|
|
|
*-g++:profiling {
|
|
|
|
QMAKE_CFLAGS = -pg
|
|
|
|
QMAKE_CXXFLAGS = -pg
|
|
|
|
QMAKE_LFLAGS = -pg
|
|
|
|
}
|
|
|
|
|
|
|
|
PRECOMPILED_HEADER = qmake_pch.h
|