cmGhsMultiGpj.cxx 823 B

12345678910111213141516171819202122232425262728293031323334
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #include "cmGhsMultiGpj.h"
  4. #include "cmGeneratedFileStream.h"
  5. void GhsMultiGpj::WriteGpjTag(Types const gpjType,
  6. cmGeneratedFileStream* const filestream)
  7. {
  8. char const* tag;
  9. switch (gpjType) {
  10. case INTERGRITY_APPLICATION:
  11. tag = "INTEGRITY Application";
  12. break;
  13. case LIBRARY:
  14. tag = "Library";
  15. break;
  16. case PROJECT:
  17. tag = "Project";
  18. break;
  19. case PROGRAM:
  20. tag = "Program";
  21. break;
  22. case REFERENCE:
  23. tag = "Reference";
  24. break;
  25. case SUBPROJECT:
  26. tag = "Subproject";
  27. break;
  28. default:
  29. tag = "";
  30. }
  31. *filestream << "[" << tag << "]" << std::endl;
  32. }