VCPKG Setup with CMake
Setting up VCPKG with CMake
This is a quick look up blog post for setting up vcpkg with CMake. This is something I often do, when setting up c++ projects.
Installing vcpkg
Run Bootstrap Script
Setting up Project
Creating Project Directory
Creating vcpkg manifest file
Adding Dependency
CMake Starter file
cmake_minimum_required(VERSION 3.10)
project(HelloWorld)
find_package(fmt CONFIG REQUIRED)
add_executable(HelloWorld helloworld.cpp)
target_link_libraries(HelloWorld PRIVATE fmt::fmt)
Sample App Code
Building the app