message: Adds a 'docs-only'  option to the config-build script.
  This disables all features that are not required for generating the docs.
diff: @@ -29,7 +29,7 @@ def parse_arguments():
  parser = argparse.ArgumentParser(description="Configure cmake build.",
  epilog="Note: Additional or unrecognized parameters will be passed directly to cmake."
  " For example, append '-DENABLE_OPENMP=ON' to enable OpenMP."
  - " See the toolkit QuickStart guide for a list of available CMake options."
  + " See Axom's QuickStart guide for a list of available CMake options."
  )
  parser.add_argument("-bp",
  @@ -71,6 +71,10 @@ def parse_arguments():
  type=str,
  help="select a specific host-config file to initalize CMake's cache")
  + parser.add_argument("--docs-only",
  + action='store_true',
  + help="generate a configuration for working on documentation. Disables features not required for building the docs.")
  +
  args, unknown_args = parser.parse_known_args()
  if unknown_args:
  print "[config-build]: Passing the following arguments directly to cmake... %s" % unknown_args
  @@ -166,6 +170,13 @@ def create_cmake_command_line(args, unknown_args, buildpath, hostconfigpath, ins
  if args.xcode:
  cmakeline += ' -G "Xcode"'
  + if args.docs_only:
  + cmakeline += ' -DENABLE_ALL_COMPONENTS=OFF'
  + cmakeline += ' -DENABLE_TESTS=OFF'
  + cmakeline += ' -DENABLE_EXAMPLES=OFF'
  + cmakeline += ' -DENABLE_DOCS=ON'
  + cmakeline += ' -DENABLE_PYTHON=ON'
  +
  if unknown_args:
  cmakeline += " " + " ".join( unknown_args )
  