Allegro5 CMake template

This is a minimal CMake template for use with allegro5.

cmake_minimum_required(VERSION 2.8)

project(MyProject)

set(SOURCES_CPP
  main.cpp
# Add files here
)

set(LIBS
  allegro
# Add libraries here 
)

add_executable(MyProject ${SOURCES_CPP})

target_link_libraries(MyProject ${LIBS})

install(TARGETS MyProject DESTINATION bin)