https://github.com/Kitware/CMake
Revision 5e0bd923bde5b73ff5a6d03c1ab69d157b6c262b authored by Brad King on 08 November 2022, 13:14:04 UTC, committed by Kitware Robot on 08 November 2022, 13:15:09 UTC
ed24414eee FindOpenSSL: Search "lib64" for mingw 64-bit installs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7875
2 parent s f3a4c73 + ed24414
Raw File
Tip revision: 5e0bd923bde5b73ff5a6d03c1ab69d157b6c262b authored by Brad King on 08 November 2022, 13:14:04 UTC
Merge topic 'FindOpenSSL-mingw-lib64' into release-3.25
Tip revision: 5e0bd92
cmGhsMultiGpj.cxx
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#include "cmGhsMultiGpj.h"

#include <ostream>

static const char* GHS_TAG[] = { "[INTEGRITY Application]",
                                 "[Library]",
                                 "[Project]",
                                 "[Program]",
                                 "[Reference]",
                                 "[Subproject]",
                                 "[Custom Target]" };

const char* GhsMultiGpj::GetGpjTag(Types gpjType)
{
  char const* tag;
  switch (gpjType) {
    case INTERGRITY_APPLICATION:
    case LIBRARY:
    case PROJECT:
    case PROGRAM:
    case REFERENCE:
    case SUBPROJECT:
    case CUSTOM_TARGET:
      tag = GHS_TAG[gpjType];
      break;
    default:
      tag = "";
  }
  return tag;
}

void GhsMultiGpj::WriteGpjTag(Types gpjType, std::ostream& fout)
{
  char const* tag;
  tag = GhsMultiGpj::GetGpjTag(gpjType);
  fout << tag << std::endl;
}
back to top