Repository navigation
pkg.gtest
Andreas edited this page Aug 2, 2016
·
7 revisions
- Official
- Hunterized (old repo)
- Dev branch
- Versions
- Example
- Added by Knitschi (pr-306)
hunter_add_package(GTest)
find_package(GTest CONFIG REQUIRED)
target_link_libraries(foo GTest::main) # GTest::gtest will be linked automatically
target_link_libraries(boo GTest::gtest)- Cygwin GCC build failed with
c++11flag
- Available since v0.12.42
For package versions 1.8.0-hunter-p1 and higher the package also includes GMock. When finding the GMock package GTest is automatically included. Note that package version 1.8.0-hunter-p1 does not support the MinGW and Visual Studio 2005 toolchains, so GMock is not available in these cases.
hunter_add_package(GTest)
find_package(GMock CONFIG REQUIRED)
# GMock::gmock and GTest::main will be linked automatically
target_link_libraries(foo GMock::main) Feel free to open new issue if you want to ask any questions.
- HOME
- Packages
- Android-Apk
- Android-Modules
- Android-SDK
- ArrayFire
- Assimp
- Async++
- Avahi
- BZip2
- Boost
- Boost.compute
- Boost.process
- CLAPACK
- Comet
- CppNetlib.URI
- CsvParserCPlusPlus
- Eigen
- Expat
- GPUImage
- GSL
- GTest
- GMock
- Igloo
- IntSizeof
- Jpeg
- JsonSpirit
- LLVM (Clang)
- Leathers
- Libssh2
- Lua
- MySQL-client
- nlohmann::json
- OpenCV
- OpenSSL
- PNG
- Poco C++
- PostgreSQL
- Protobuf
- Qt
- Qt-Android-CMake
- QtQmlManager
- RapidJSON
- Sugar
- TIFF
- Washer
- WTL
- ZeroMQ
- ZMQPP
- ZLIB
- rabbitmq-c
- sparsehash
- ccv
- cereal
- convertutf
- crashpad
- cvmatio
- dest
- dlib
- eos
- flatbuffers
- fmt
- freetype
- glm
- glog
- half
- hdf5
- ios_sim
- irrXML
- libyuv
- log4cplus
- minizip
- odb-pgsql
- odb-mysql
- ogles_gpgpu
- openddlparser
- poly2tri
- polyclipping
- spdlog
- szip
- thread-pool-cpp
- tinydir
- websocketpp
- msgpack
- wxWidgets
- xgboost
Don't see packages you need? Feel free to leave a package request.