equal
deleted
inserted
replaced
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: |
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: |
2 :: |
2 :: |
3 :: Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 :: Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 :: All rights reserved. |
4 :: All rights reserved. |
5 :: Contact: Nokia Corporation (qt-info@nokia.com) |
5 :: Contact: Nokia Corporation (qt-info@nokia.com) |
6 :: |
6 :: |
7 :: This file is part of the Qt Mobility Components. |
7 :: This file is part of the Qt Mobility Components. |
8 :: |
8 :: |
78 if "%1" == "-silent" goto silentTag |
78 if "%1" == "-silent" goto silentTag |
79 if "%1" == "-prefix" goto prefixTag |
79 if "%1" == "-prefix" goto prefixTag |
80 if "%1" == "-libdir" goto libTag |
80 if "%1" == "-libdir" goto libTag |
81 if "%1" == "-bindir" goto binTag |
81 if "%1" == "-bindir" goto binTag |
82 if "%1" == "-headerdir" goto headerTag |
82 if "%1" == "-headerdir" goto headerTag |
|
83 if "%1" == "-plugindir" goto pluginTag |
83 if "%1" == "-tests" goto testTag |
84 if "%1" == "-tests" goto testTag |
84 if "%1" == "-examples" goto exampleTag |
85 if "%1" == "-examples" goto exampleTag |
85 if "%1" == "-qt" goto qtTag |
86 if "%1" == "-qt" goto qtTag |
86 if "%1" == "-vc" goto vcTag |
87 if "%1" == "-vc" goto vcTag |
87 if "%1" == "-no-docs" goto nodocsTag |
88 if "%1" == "-no-docs" goto nodocsTag |
110 echo (default prefix: PREFIX/include) |
111 echo (default prefix: PREFIX/include) |
111 echo -libdir (dir) ..... Libraries will be installed to dir |
112 echo -libdir (dir) ..... Libraries will be installed to dir |
112 echo (default PREFIX/lib) |
113 echo (default PREFIX/lib) |
113 echo -bindir (dir) ..... Executables will be installed to dir |
114 echo -bindir (dir) ..... Executables will be installed to dir |
114 echo (default PREFIX/bin) |
115 echo (default PREFIX/bin) |
|
116 echo -plugindir (dir) .. Plug-ins will be installed to dir |
|
117 echo (default PREFIX/plugins) |
115 echo -debug ............ Build with debugging symbols |
118 echo -debug ............ Build with debugging symbols |
116 echo -release .......... Build without debugging symbols |
119 echo -release .......... Build without debugging symbols |
117 echo -silent ........... Reduces build output |
120 echo -silent ........... Reduces build output |
118 echo -tests ............ Build unit tests (not build by default) |
121 echo -tests ............ Build unit tests (not build by default) |
119 echo Note, this adds test symbols to all libraries |
122 echo Note, this adds test symbols to all libraries |
177 |
180 |
178 :headerTag |
181 :headerTag |
179 shift |
182 shift |
180 echo QT_MOBILITY_INCLUDE = %1 >> %PROJECT_CONFIG% |
183 echo QT_MOBILITY_INCLUDE = %1 >> %PROJECT_CONFIG% |
181 shift |
184 shift |
|
185 goto cmdline_parsing |
|
186 |
|
187 :pluginTag |
|
188 shift |
|
189 echo QT_MOBILITY_PLUGINS = %1 >> %PROJECT_CONFIG% |
|
190 shift |
|
191 echo |
182 goto cmdline_parsing |
192 goto cmdline_parsing |
183 |
193 |
184 :unfrozenTag |
194 :unfrozenTag |
185 REM Should never be used in release builds |
195 REM Should never be used in release builds |
186 REM Some SDK's seem to exclude Q_AUTOTEST_EXPORT symbols if the |
196 REM Some SDK's seem to exclude Q_AUTOTEST_EXPORT symbols if the |
329 echo qmf_enabled = no >> %PROJECT_CONFIG% |
339 echo qmf_enabled = no >> %PROJECT_CONFIG% |
330 |
340 |
331 echo isEmpty($$QT_MOBILITY_INCLUDE):QT_MOBILITY_INCLUDE=$$QT_MOBILITY_PREFIX/include >> %PROJECT_CONFIG% |
341 echo isEmpty($$QT_MOBILITY_INCLUDE):QT_MOBILITY_INCLUDE=$$QT_MOBILITY_PREFIX/include >> %PROJECT_CONFIG% |
332 echo isEmpty($$QT_MOBILITY_LIB):QT_MOBILITY_LIB=$$QT_MOBILITY_PREFIX/lib >> %PROJECT_CONFIG% |
342 echo isEmpty($$QT_MOBILITY_LIB):QT_MOBILITY_LIB=$$QT_MOBILITY_PREFIX/lib >> %PROJECT_CONFIG% |
333 echo isEmpty($$QT_MOBILITY_BIN):QT_MOBILITY_BIN=$$QT_MOBILITY_PREFIX/bin >> %PROJECT_CONFIG% |
343 echo isEmpty($$QT_MOBILITY_BIN):QT_MOBILITY_BIN=$$QT_MOBILITY_PREFIX/bin >> %PROJECT_CONFIG% |
|
344 echo isEmpty($$QT_MOBILITY_PLUGINS):QT_MOBILITY_PLUGINS=$$QT_MOBILITY_PREFIX/plugins >> %PROJECT_CONFIG% |
334 |
345 |
335 echo mobility_modules = %MOBILITY_MODULES% >> %PROJECT_CONFIG% |
346 echo mobility_modules = %MOBILITY_MODULES% >> %PROJECT_CONFIG% |
336 REM no Sysinfo support on Maemo yet |
347 REM no Sysinfo support on Maemo yet |
337 echo maemo5^|maemo6:mobility_modules -= systeminfo >> %PROJECT_CONFIG% |
348 echo maemo5^|maemo6:mobility_modules -= systeminfo >> %PROJECT_CONFIG% |
338 echo contains(mobility_modules,versit): mobility_modules *= contacts >> %PROJECT_CONFIG% |
349 echo contains(mobility_modules,versit): mobility_modules *= contacts >> %PROJECT_CONFIG% |