query_cli.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. A new --query command-line option allows other tools to easily read raptor's
  2. configuration data without having to understand exactly how raptor config
  3. files work. The output is presented in XML format.
  4. For example, all the valid build aliases which can be used to build with
  5. the -c option can be obtained using:
  6. sbs --query=aliases
  7. All the known product variants can be obtained using:
  8. sbs --query=products
  9. In both cases, the output is sorted by name attribute.
  10. The details of a particular configuration can be found using:
  11. sbs --query=config[armv5_urel.n8]
  12. The following information is also printed for configurations:
  13. 1. include paths used for preprocessing bld.infs and MMPs
  14. 2. pre-include header file for preprocessing bld.infs and MMPs
  15. 3. pre-include header file passed to the compiler in a build (if used)
  16. 4. macros used to preprocess bld.infs and MMPs (with values, if explicitly set)
  17. 5. core macros used in compilation preprocessing (with values, if explicitly set)
  18. 6. available values to use as the targettype in MMP
  19. To obtain a list of available filters, use
  20. sbs --query=filters
  21. This also prints Python docstrings for each filter, where available.