Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 1.18 KB

File metadata and controls

33 lines (29 loc) · 1.18 KB

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