It takes a game description from the command line. Looks in a folder 'ttrts_gamename' for turn commands Reads those in and simulates until a winner is found
18 lines
No EOL
269 B
CMake
18 lines
No EOL
269 B
CMake
# ====================== ttrts =======================
|
|
# Project name
|
|
project( ttrts )
|
|
|
|
include_directories(
|
|
../maths
|
|
../game
|
|
)
|
|
|
|
# Add the sources
|
|
set( SOURCES
|
|
main.cpp
|
|
)
|
|
|
|
# Add the executable
|
|
add_executable( ttrts ${SOURCES} )
|
|
|
|
target_link_libraries( ttrts game ) |