Gamedev Framework (gf)  0.4.0
A C++11 framework for 2D games
Use gf in your project

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)
2 
3 project(FOOGAME
4  VERSION 0.1.0
5 )
6 
7 find_package(gf REQUIRED)
8 
9 add_executable(foogame
10  foogame.cc
11  # and the rest of your sources
12 )
13 
14 target_link_libraries(foogame
15  gf::gf0
16 )