From c9cf40e523bea4e071feef3ebad877d63463d8c2 Mon Sep 17 00:00:00 2001 From: Matt Mullins Date: Sat, 11 Jul 2009 15:54:21 -0500 Subject: [PATCH] Added CMake config file. --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CMakeLists.txt 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}) -- 2.11.0