Skip to content

cnruby/install_hunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C++ Application with 'CMake' and 'Hunter'

Use Installing Hunter

cd YOUR_CMAKE_PROJECT_ROOT
wget https://raw.githubusercontent.com/cnruby/install_hunter/master/install_hunter.cmake
cmake -Dversion=0.23.253 -P ./install_hunter.cmake

Use Example

git clone https://github.com/cnruby/install_hunter.git
cd install_hunter/example
wget https://raw.githubusercontent.com/cnruby/install_hunter/master/install_hunter.cmake
# OR
# cp ../install_hunter.cmake .
cmake -Dversion=0.23.253 -P ./install_hunter.cmake
cmake -GNinja -Bbuild/ -H.
cmake --build build/
./build/main

@cnruby

References