Skip to content
ruslo edited this page Dec 29, 2013 · 6 revisions

config file

  • config.cmake in HUNTER_ROOT directory
include(hunter_config)

hunter_config(boost VERSION 1.52)
hunter_config(gtest VERSION 1.7.0)
hunter_config(gmock CUSTOM /path/to/gmock/install)

use

  • CMakeLists.txt
include("HunterGate.cmake")

hunter_add_package(gtest)
hunter_add_package(boost COMPONENTS system filesystem)

find_package(GTest REQUIRED) # use downloaded

Clone this wiki locally