source: branches/vendor/trolltech/qt/current/mkspecs/win32-msvc2008/qmake.conf @ 2

Last change on this file since 2 was 2, checked in by Dmitry A. Kuminov, 12 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 3.4 KB
Line 
1#
2# qmake configuration for win32-msvc2008
3#
4# Written for Microsoft VC2005.NET
5#
6
7MAKEFILE_GENERATOR      = MSVC.NET
8TEMPLATE                = app
9CONFIG                  += qt warn_on release incremental flat link_prl precompile_header autogen_precompile_source copy_dir_files debug_and_release debug_and_release_target embed_manifest_dll embed_manifest_exe
10QT                      += core gui
11DEFINES                 += UNICODE WIN32 QT_LARGEFILE_SUPPORT
12QMAKE_COMPILER_DEFINES  += _MSC_VER=1500 WIN32
13
14QMAKE_CC                = cl
15QMAKE_LEX               = flex
16QMAKE_LEXFLAGS          =
17QMAKE_YACC              = byacc
18QMAKE_YACCFLAGS         = -d
19QMAKE_CFLAGS            = -nologo -Zm200 -Zc:wchar_t-
20QMAKE_CFLAGS_WARN_ON    = -W3
21QMAKE_CFLAGS_WARN_OFF   = -W0
22QMAKE_CFLAGS_RELEASE    = -O2 -MD -GL
23QMAKE_CFLAGS_DEBUG      = -Zi -MDd
24QMAKE_CFLAGS_YACC       =
25
26QMAKE_CXX               = $$QMAKE_CC
27QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS
28QMAKE_CXXFLAGS_WARN_ON  = $$QMAKE_CFLAGS_WARN_ON -w34100 -w34189
29QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
30QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE
31QMAKE_CXXFLAGS_DEBUG    = $$QMAKE_CFLAGS_DEBUG
32QMAKE_CXXFLAGS_YACC     = $$QMAKE_CFLAGS_YACC
33QMAKE_CXXFLAGS_STL_ON   = -EHsc
34QMAKE_CXXFLAGS_STL_OFF  =
35QMAKE_CXXFLAGS_RTTI_ON  = -GR
36QMAKE_CXXFLAGS_RTTI_OFF =
37QMAKE_CXXFLAGS_EXCEPTIONS_ON = -EHsc
38QMAKE_CXXFLAGS_EXCEPTIONS_OFF =
39
40QMAKE_INCDIR            =
41QMAKE_INCDIR_QT         = $$[QT_INSTALL_HEADERS]
42QMAKE_LIBDIR_QT         = $$[QT_INSTALL_LIBS]
43
44QMAKE_RUN_CC            = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
45QMAKE_RUN_CC_IMP        = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
46QMAKE_RUN_CC_IMP_BATCH  = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<<
47QMAKE_RUN_CXX           = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
48QMAKE_RUN_CXX_IMP       = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
49QMAKE_RUN_CXX_IMP_BATCH = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<
50
51QMAKE_LINK              = link
52QMAKE_LFLAGS            = /NOLOGO
53QMAKE_LFLAGS_RELEASE    = /INCREMENTAL:NO /LTCG
54QMAKE_LFLAGS_DEBUG      = /DEBUG
55QMAKE_LFLAGS_CONSOLE    = /SUBSYSTEM:CONSOLE
56QMAKE_LFLAGS_WINDOWS    = /SUBSYSTEM:WINDOWS \"/MANIFESTDEPENDENCY:type=\'win32\' name=\'Microsoft.Windows.Common-Controls\' version=\'6.0.0.0\' publicKeyToken=\'6595b64144ccf1df\' language=\'*\' processorArchitecture=\'*\'\"
57QMAKE_LFLAGS_DLL        = /DLL
58
59QMAKE_LIBS_CORE         = kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib
60QMAKE_LIBS_GUI          = gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib ws2_32.lib ole32.lib user32.lib advapi32.lib
61QMAKE_LIBS_NETWORK      = ws2_32.lib
62QMAKE_LIBS_OPENGL       = opengl32.lib glu32.lib gdi32.lib user32.lib
63QMAKE_LIBS_COMPAT       = advapi32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib ws2_32.lib
64
65QMAKE_LIBS_QT_ENTRY     = -lqtmain
66
67QMAKE_MOC               = $$[QT_INSTALL_BINS]\moc.exe
68QMAKE_UIC               = $$[QT_INSTALL_BINS]\uic.exe
69QMAKE_IDC               = $$[QT_INSTALL_BINS]\idc.exe
70
71QMAKE_IDL               = midl
72QMAKE_LIB               = lib /NOLOGO
73QMAKE_RC                = rc
74
75QMAKE_ZIP               = zip -r -9
76
77QMAKE_COPY              = copy /y
78QMAKE_COPY_DIR          = xcopy /s /q /y /i
79QMAKE_MOVE              = move
80QMAKE_DEL_FILE          = del
81QMAKE_DEL_DIR           = rmdir
82QMAKE_CHK_DIR_EXISTS    = if not exist
83QMAKE_MKDIR             = mkdir
84
85VCPROJ_EXTENSION        = .vcproj
86VCSOLUTION_EXTENSION    = .sln
87VCPROJ_KEYWORD  = Qt4VSv1.0
88load(qt_config)
Note: See TracBrowser for help on using the repository browser.