Esempio n. 1
0
           infoMessage("All objects successfully removed.")
       except:
           warningMessage("No objects removed.")
           pass

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


# Create Parser
parser = ArgumentParser( prog="ctx",
                         description=ctx_sysinfo.CTX_BANNER,
                         version=ctx_sysinfo.CTX_DISPLAYVERSION,
                         fromfile_prefix_chars='@' )

subparsers = parser.add_subparsers ()

standard_description = dict({\
    '--bconf': "Build configuration file (*.bc/*.bconf)",\
      '--env': "One or more enviroment replacement files (*.env)",\
   '--output': "The location (path) in which to place output files",\
   '--libdir': "Relative directory within '--output' in which to place built binaries. Will be created if not already present.",\
'--headerdir': "Directory name within '--output' in which to place exported header files. Will be created if not already present.",\
     '--deps': "If specified, all dependencies (modules) are processed as well.",\
    '--tests': "If specified, the unit tests for each processed code module are included as well.",\
     '--view': "The local view directory to use for this operation. If omitted, current working directory is used.",\
  '--logfile': "Name of logfile to generate. Will be created in output folder as defined by the --output option.",\
'--repo-validation': "DEPRECATED: validation is only performed by the subcommands 'ctx freeze', 'ctx view', and 'ctx validate'",\
'--no-remote-repo-access': "DEPRECATED: this option is ignored. remote access will always be performed when running ctx view update. At all other times: .rspecs will be cached.",\
'--force':"Forces building all source files", \
'--fail-on-missing-headers':"Abort the build if a header is missing.",\