Use gf with CMake
At build time, gf generates a CMake module that is suitable for other projects. Once installed, it is very easy to import gf as a dependency. Here is a simple CMakeLists.txt
for a projet that uses gf.
1 cmake_minimum_required(VERSION 3.0)
7 find_package(gf REQUIRED)
11 # and the rest of your sources
14 target_link_libraries(foogame