2014-12-16 13:12:50 +00:00
|
|
|
cmake_minimum_required(VERSION 2.8.7)
|
|
|
|
|
|
|
|
# game project
|
|
|
|
project( game )
|
|
|
|
|
2014-12-16 13:12:53 +00:00
|
|
|
include_directories(
|
|
|
|
../maths
|
|
|
|
)
|
|
|
|
|
2014-12-16 13:12:50 +00:00
|
|
|
# Add the sources
|
|
|
|
set( SOURCES
|
|
|
|
game.cpp
|
2014-12-16 13:12:56 +00:00
|
|
|
unit.cpp
|
2014-12-16 13:12:57 +00:00
|
|
|
orders.cpp
|
2014-12-16 13:12:50 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library( game ${SOURCES} )
|