git clone --recursive
this repository. There is a vcpkg
submodoule.
System Requirement: MSVC 2019.6
- Desktop development with C++
- MSVC v142 - VS 2019 C++ x64/x86 build tools
- Windows 10 SDK
- C++ CMake tools for Windows
- Copy
libexample1
,libexample2
andlibexample3
tovcpkg/ports
. - Open in Visual Studio 2019.
- It will run CMake configure.
- It will build
vcpkg.exe
if not yet. - It will build
libexample1
,libexample2
andlibexample3
if out-of-date. - Then build the project.
System Requirement:
- g++ 9+
- cmake 3.13+
Ubuntu
apt-get update && apt-get install -y tar zip unzip curl git g++ cmake ninja-build
OpenSUSE
zypper install -y tar gzip bzip2 xz zip unzip curl git gcc-c++ cmake ninja
Alpine
apk add tar zip unzip curl git g++ cmake ninja
export VCPKG_FORCE_SYSTEM_BINARIES=1
cd vcpkg
./bootstrap-vcpkg.sh -useSystemBinaries
Then use cmake to build
cp -pr libexample1 vcpkg/ports/
cp -pr libexample2 vcpkg/ports/
cp -pr libexample3 vcpkg/ports/
cmake -S . -B out/build -G Ninja
cmake --build out/build