Added CMake config file.
authorMatt Mullins <mokomull@gmail.com>
Sat, 11 Jul 2009 20:54:21 +0000 (15:54 -0500)
committerMatt Mullins <mokomull@gmail.com>
Sat, 11 Jul 2009 20:54:21 +0000 (15:54 -0500)
CMakeLists.txt [new file with mode: 0644]

diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4b8af4e
--- /dev/null
@@ -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})