Пример #1
0

    #
    # The End
    #
    infoMessage("Export done.", 1)


##### ENTRY POINT #############################################################

# Create Parser
parser = ArgumentParser( description="""MSVC project export -
 plugin to Contexo Build System (c) 2006-2009 Scalado AB""",
 version="0.1")

parser.set_defaults(func=cmd_parse)

parser.add_argument('-vcver', '--vcversion', default='8',
 help="Resulting export will comply to this major version of MSVC. Supported versions: 8" )

parser.add_argument('-pn', '--project-name', default=None,
 help="""Used as the title and filename for the resulting project. If the
 export operation generates multiple projects, this parameter will be ignored.
 If omitted, default name '%s' will be used."""%default_projname )

parser.add_argument('-sln', '--solution', default=None,
 help="""Name of solution file (*.sln). If specified, all projects generated
 during the export are bundled into a solution with this name.""")

parser.add_argument('-mc', '--mirror-components', action='store_true',
 help="""If specified, the export will mirror the exact distribution of