Changeset 994
- Timestamp:
- Aug 17, 2011, 1:23:23 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.cmd
r991 r994 41 41 G.CFG_DEV = "no" 42 42 43 G.QT_DEFAULT_BUILD_PARTS = "libs tools docs translations" /* examples demos */43 G.QT_DEFAULT_BUILD_PARTS = "libs tools 44 44 45 45 /* all globals to be exposed in procedures */ … … 174 174 G.QT_BUILD_VERSION = build 175 175 G.QT_CONFIG = "official_build" 176 G.QT_DEFAULT_BUILD_PARTS = "libs tools qmakeexamples demos docs translations"176 G.QT_DEFAULT_BUILD_PARTS = "libs tools examples demos docs translations" 177 177 if (\quiet) then do 178 178 call SaySay, … … 432 432 G.EOL||, 433 433 "Usage: " filespec('N', G.ScriptFile) "[-h] [-release] [-debug] [-debug-and-release]"G.EOL||, 434 " [-developer-build] "G.EOL||,434 " [-developer-build]"G.EOL||, 435 435 G.EOL||G.EOL||, 436 436 "Configure options:"G.EOL||, … … 447 447 " -developer-build ... Compile and link Qt with Qt developer options"G.EOL||, 448 448 " (including auto-tests exporting), implies -debug."G.EOL||, 449 450 451 452 453 454 449 455 "" 450 456 call Done 1 … … 499 505 opt = 'P G.QT_INSTALL_SYSCONFFILE' 500 506 507 508 509 510 511 501 512 otherwise nop 502 513 end … … 511 522 else call value opt, 'yes' 512 523 end 513 if (typ == 'P') then do 524 else if (StartsWith(typ, 'S')) then do 525 /* argument is a string */ 526 if (i == G.Args.0) then do 527 call SayErr "ERROR: Option '"G.Args.i"' needs a string." 528 call Done 1 529 end 530 i = i + 1 531 if (EndsWith(typ, '+')) then 532 call value opt, Join(value(opt), G.Args.i) 533 else 534 call value opt, G.Args.i 535 end 536 else if (typ == 'P') then do 514 537 /* argument is a path */ 515 538 if (i == G.Args.0) then do … … 518 541 end 519 542 i = i + 1 520 interpret opt "= translate(G.Args."i", '\', '/')"543 521 544 end 522 545 end … … 760 783 call delword G.CFG_BUILD_PARTS, j 761 784 end 785 762 786 if (wordpos("libs", G.CFG_BUILD_PARTS) == 0) then 763 787 G.CFG_BUILD_PARTS = Join(G.CFG_BUILD_PARTS, "libs")
Note:
See TracChangeset
for help on using the changeset viewer.