Skip to content

tony2u/webcrab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to build webcrab

CONAN-CLI:

  1. create CMakeLists.txt
  2. append conanfile.txt
  3. run: conan profile list & conan profile path default (profile default existed)

or conan profile detect --force (first conan)

  1. run: conan install . --output-folder=build --build=missing --profile=default
  2. modify CMakeLists.txt

Windows:

  1. cd build

#assuming Visual Studio 17 2022 is your VS version and that it matches your default profile

  1. cmake .. -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake

... -- Configuring done -- Generating done

  1. cmake --build . --config Release

... webcrab.vcxproj -> D:\Projects\webcrab\build\Release\webcrab.exe

  1. Release\webcrab.exe

Linux and macOS:

  1. cd build
  2. cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release

... -- Configuring done -- Generating done

  1. cmake --build .

... [100%] Built target webcrab

  1. ./webcrab

About

Sample to crab the anything by cpp-httplib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published