From: Matt Mullins Date: Sat, 11 Jul 2009 20:54:21 +0000 (-0500) Subject: Added CMake config file. X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=c9cf40e523bea4e071feef3ebad877d63463d8c2;p=IvanGame.git Added CMake config file. --- diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..4b8af4e --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,9 @@ +cmake_minimum_required(VERSION 2.6) +project(game) + +find_package(SDL REQUIRED) +find_package(SDL_image REQUIRED) + +add_executable(game Animation.cpp fns.cpp Game.cpp Level.cpp main.cpp Sprite.cpp Text.cpp) + +target_link_libraries(game ${SDL_LIBRARY} ${SDLIMAGE_LIBRARY})