14 lines
253 B
Text
14 lines
253 B
Text
|
cmake_minimum_required(VERSION 2.8.7)
|
||
|
|
||
|
# game project
|
||
|
project( game )
|
||
|
|
||
|
# Set to use c++11, because we're cool like that
|
||
|
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11" )
|
||
|
|
||
|
# Add the sources
|
||
|
set( SOURCES
|
||
|
game.cpp
|
||
|
)
|
||
|
|
||
|
add_library( game ${SOURCES} )
|