-
Notifications
You must be signed in to change notification settings - Fork 0
Package management
dk949 edited this page May 22, 2022
·
1 revision
Packages are fetched with vcpkg.
In order to add a package to the project add its name to the dependencies
array in vcpkg.json
. To packages run:
./vcpkg/vcpkg install
Once the install is complete, it will print instructions for adding the package to cmake. Instructions will be typically in the form
find_package(...)
target_link_libraries(main ...)
Paste these commands after add_executable
in src/CMakeLists.txt
and replace
main
with ${EXE_NAME}
to link the library with your executable.