From 59360094e5ac1ddeb5eda365ac4ccf765786635f Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 27 Nov 2009 20:47:58 +0100 Subject: Initial commit --- CMakeLists.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..50e80ca --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,21 @@ +cmake_minimum_required(VERSION 2.6) +project(C3D) + +find_package(OpenGL REQUIRED) + +include_directories(${OPENGL_INCLUDE_DIR}) + +add_executable(c3d + BSPGenerator.cpp BSPGenerator.h + BSPTree.h + Color.h + Cuboid.cpp Cuboid.h + DisplayClass.cpp DisplayClass.h + gl.h + main.cpp + Matrix.h + Triangle.h + Vector.h + Vertex.h +) +target_link_libraries(c3d ${OPENGL_LIBRARIES}) -- cgit v1.2.3