# # 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 libraries from any included components, resulting in one VS project for each library within the components. The name of each library will be used as both project name and output library name. If this option is omitted, one VS project
libnativehelper libcutils libutils libui libbinder libskia libmedia LOCAL_PRELINK_MODULE := false ] The example will create a number of Android.mk files under /home/user/android/eclair/mymodule. """, version="0.5", formatter_class=RawDescriptionHelpFormatter, fromfile_prefix_chars='@') parser.set_defaults(func=cmd_parse) parser.add_argument('-n', '--ndk', help="""Specifies the Android NDK root.""") parser.add_argument('-m', '--mydroid', help="""Specifies the mydroid root. (Android source tree build.)""") parser.add_argument('-a', '--app', help="""Specifies the name of the application. For a source tree build this will be the name of the subfolder of mydroid to put the main Android.mk in.""") parser.add_argument('-mp', '--mk-path', default="jni", help="""Specifies the relative path from project folder to where the makefiles are located. All created makefiles will be put in this directory or below it, except the Application.mk. Defaults to 'jni'.""") parser.add_argument('-p', '--project', default=None,
##### ENTRY POINT ############################################################# # Create Parser parser = ArgumentParser( description="""Netbeans project export - plugin to Contexo Build System (c) 2006-2010 Scalado AB""", version="0.1", ) parser.set_defaults(func=cmd_parse) parser.add_argument( "-ai", "--additional-includes", default=None, help="""Directory, or path to a file with include paths to append to the include directories of all projects generated. The paths in the file can be separated by line or by semicolon.""", ) parser.add_argument("-o", "--output", default=os.getcwd(), help="The output directory for the export.") parser.add_argument( "-mn", "--mergename", default=None, help="The project name for merged projects. If provided it will merge all the libs in all the comp files into one project.", ) # parser.add_argument('-ld','--libdir', default="", help=standard_description['--libdir']) # parser.add_argument('-l', '--lib', help="if the build operation results in a single library, this option sets its name")
# # The End # infoMessage("Export done.", 1) ##### ENTRY POINT ############################################################# # Create Parser parser = ArgumentParser( description="""tengil testcase parser""", version="0.1") parser.set_defaults(func=cmd_parse) parser.add_argument('-in', '--input-names', nargs = '+', help="""names of the calls or macros to find""") parser.add_argument('-on', '--output-names', default='', nargs = '*', help="""names of the calls to generate""") parser.add_argument('-o', '--output', default=os.getcwd(), help="The path to the output file.") #parser.add_argument('-ld','--libdir', default="", help=standard_description['--libdir']) #parser.add_argument('-l', '--lib', help="if the build operation results in a single library, this option sets its name") args = parser.parse_args() args.func(args)
recurse_rspecs( current_rspec, current_imports, dotfile ) dotfile.write( footer ) dotfile.close() os.system( "dot.exe -Tjpeg %s -ofile -O"%(filename) ) if not args.no_display: os.system( "%s"%( filename + '.jpeg') ) print >>sys.stderr, "Done" ##### ENTRY POINT ############################################################# # Create Parser parser = ArgumentParser( description="RSpec tree image generator - plugin to Contexo Build System (c) 2006-2009 Scalado AB", epilog="Requires Graphviz dot to be installed on the system.\nObtain installer for Windows here: http://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.24.msi", version="0.1") parser.set_defaults(func=cmd_parse) parser.add_argument('-o', '--output', default=os.getcwd(), help="The output directory for the export. Default is current directory.") parser.add_argument('-nd', '--no-display', action='store_true', help="""If specified, the rendered JPEG image will not be automatically displayed""") args = parser.parse_args() args.func(args)