Changeset 994


Ignore:
Timestamp:
Aug 17, 2011, 1:23:23 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

OS/2: configure.cmd: Build examples and docs by default.

Also added -nomake/-make options to control what parts to build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.cmd

    r991 r994  
    4141G.CFG_DEV           = "no"
    4242
    43 G.QT_DEFAULT_BUILD_PARTS = "libs tools docs translations" /* examples demos */
     43G.QT_DEFAULT_BUILD_PARTS = "libs tools
    4444
    4545/* all globals to be exposed in procedures */
     
    174174            G.QT_BUILD_VERSION = build
    175175            G.QT_CONFIG = "official_build"
    176             G.QT_DEFAULT_BUILD_PARTS = "libs tools qmake examples demos docs translations"
     176            G.QT_DEFAULT_BUILD_PARTS = "libs tools examples demos docs translations"
    177177            if (\quiet) then do
    178178                call SaySay,
     
    432432G.EOL||,
    433433"Usage: " filespec('N', G.ScriptFile) "[-h] [-release] [-debug] [-debug-and-release]"G.EOL||,
    434 "        [-developer-build]"G.EOL||,
     434"        [-developer-build]"G.EOL||,
    435435G.EOL||G.EOL||,
    436436"Configure options:"G.EOL||,
     
    447447"    -developer-build ... Compile and link Qt with Qt developer options"G.EOL||,
    448448"                         (including auto-tests exporting), implies -debug."G.EOL||,
     449
     450
     451
     452
     453
     454
    449455""
    450456        call Done 1
     
    499505                        opt = 'P G.QT_INSTALL_SYSCONFFILE'
    500506
     507
     508
     509
     510
     511
    501512                    otherwise nop
    502513                end
     
    511522                    else call value opt, 'yes'
    512523                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
    514537                    /* argument is a path */
    515538                    if (i == G.Args.0) then do
     
    518541                    end
    519542                    i = i + 1
    520                     interpret opt "= translate(G.Args."i", '\', '/')"
     543                   
    521544                end
    522545            end
     
    760783            call delword G.CFG_BUILD_PARTS, j
    761784    end
     785
    762786    if (wordpos("libs", G.CFG_BUILD_PARTS) == 0) then
    763787        G.CFG_BUILD_PARTS = Join(G.CFG_BUILD_PARTS, "libs")
Note: See TracChangeset for help on using the changeset viewer.