# This file created by conda-build 3.25.0
# ------------------------------------------------

package:
  name: gtest
  version: 1.14.0
source:
  sha256: 8ad598c73ad796e0d8280b082cebd82a630d73e73cd3c70057938a6501bba5d7
  url: https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz
build:
  number: 1
  run_exports:
    - gtest >=1.14.0,<1.14.1.0a0
  string: h00ab1b0_1
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.40 hf600244_0
    - binutils_linux-64 2.40 hbdbef99_1
    - bzip2 1.0.8 h7f98852_4
    - c-ares 1.19.1 hd590300_0
    - ca-certificates 2023.7.22 hbcca054_0
    - cmake 3.26.4 hcfe8598_0
    - expat 2.5.0 hcb278e6_1
    - gcc_impl_linux-64 12.3.0 he2b93b0_0
    - gcc_linux-64 12.3.0 h76fc315_1
    - gxx_impl_linux-64 12.3.0 he2b93b0_0
    - gxx_linux-64 12.3.0 h8a814eb_1
    - kernel-headers_linux-64 2.6.32 he073ed8_16
    - keyutils 1.6.1 h166bdaf_0
    - krb5 1.21.1 h659d440_0
    - ld_impl_linux-64 2.40 h41732ed_0
    - libcurl 8.2.1 hca28451_0
    - libedit 3.1.20191231 he28a2e2_2
    - libev 4.33 h516909a_1
    - libexpat 2.5.0 hcb278e6_1
    - libgcc-devel_linux-64 12.3.0 h8bca6fd_0
    - libgcc-ng 13.1.0 he5830b7_0
    - libgomp 13.1.0 he5830b7_0
    - libnghttp2 1.52.0 h61bc06f_0
    - libsanitizer 12.3.0 h0f45ef3_0
    - libssh2 1.11.0 h0841786_0
    - libstdcxx-devel_linux-64 12.3.0 h8bca6fd_0
    - libstdcxx-ng 13.1.0 hfd8a6a1_0
    - libuv 1.44.2 hd590300_1
    - libzlib 1.2.13 hd590300_5
    - ncurses 6.4 hcb278e6_0
    - ninja 1.11.1 h924138e_0
    - openssl 3.1.2 hd590300_0
    - rhash 1.4.3 hd590300_1
    - sysroot_linux-64 2.12 he073ed8_16
    - xz 5.2.6 h166bdaf_0
    - zlib 1.2.13 hd590300_5
    - zstd 1.5.2 hfc55251_7
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - libgcc-ng 13.1.0 he5830b7_0
    - libgomp 13.1.0 he5830b7_0
    - libstdcxx-ng 13.1.0 hfd8a6a1_0
  run:
    - libgcc-ng >=12
    - libstdcxx-ng >=12
  run_constrained:
    - gmock 1.14.0
test:
  commands:
    - test -f $PREFIX/lib/libgtest${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libgtest.a
    - pkg-config --print-errors --exact-version "1.14.0" gtest
    - test -f $PREFIX/lib/libgtest_main${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libgtest_main.a
    - pkg-config --print-errors --exact-version "1.14.0" gtest_main
    - test -f $PREFIX/lib/libgmock${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libgmock.a
    - pkg-config --print-errors --exact-version "1.14.0" gmock
    - test -f $PREFIX/lib/libgmock_main${SHLIB_EXT}
    - test ! -f $PREFIX/lib/libgmock_main.a
    - pkg-config --print-errors --exact-version "1.14.0" gmock_main
    - test -f $PREFIX/include/gtest/gtest.h || (echo "gtest/gtest.h not found" &&
      exit 1)
    - test -f $PREFIX/include/gmock/gmock.h || (echo "gmock/gmock.h not found" &&
      exit 1)
  requires:
    - pkg-config
about:
  home: https://github.com/google/googletest
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE
  summary: Google's C++ test framework
extra:
  copy_test_source_files: true
  feedstock-name: gtest
  final: true
  recipe-maintainers:
    - SylvainCorlay
    - h-vetinari
    - marcelotrevisani
    - scopatz
    - wesm
    - xhochy
