vcpkg
https://www.jianshu.com/p/f06b8f77bc34
git clone https://github.com/Microsoft/vcpkg.git
powershell -exec bypass scripts\bootstrap.ps1
vcpkg.exe integrate install
vcpkg.exe search sqlite
vcpkg.exe install sqlite3 boost
vcpkg.exe list
vcpkg.exe install sqlite3:x64-windows
#include <sqlite3.h>
#include <iostream>
void main() {
std::cout << sqlite3_libversion() << "\n";
std::cin.get();
}
cmake (may not required)
Download cmake-3.8.0-win64-x64.msi with "Add CMake to the system PATH for all users"
getopt.h
https://github.com/skandhurkat/Getopt-for-Visual-Studio
https://github.com/Qihoo360/evpp/blob/master/docs/quick_start_windows_with_visualstudio.md
1. run bat file to generate vcpkg.exe
vcpkg install gflags:x64-windows glog:x64-windows openssl:x64-windows libevent:x64-windows thrift:x64-windows
vcpkg install evpp:x64-windows
Simplest
git clone https://github.com/Microsoft/vcpkg.git (so that C:\d\git\vcpkg\vcpkg.exe)
powershell -exec bypass scripts\bootstrap.ps1
vcpkg install evpp:x64-windows
沒有留言:
張貼留言