- Copy the
cmake
folder present in theinstall
folder to your project root. - Copy the
overlay-ports
folder present in theinstall
folder to your project root. - Add the following lines at the begin of your
CMakeLists.txt
file:
include(cmake/automate-vcpkg-gengine.cmake)
vcpkg_bootstrap()
vcpkg_install_gengine()
It will install vcpkg and the GEngine package with all its dependencies.
- Add the following lines at the end of your
CMakeLists.txt
file:
find_package(GEngine CONFIG REQUIRED)
target_link_libraries(main PRIVATE GEngine)
It will link the GEngine to your project.