summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: de4bf0149847ebbd4cc0c3b0170f5579f319b8c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required(VERSION 2.6)
project(C3D)

find_package(OpenGL REQUIRED)

include_directories(${OPENGL_INCLUDE_DIR})

add_executable(c3d
  BSPTree.cpp BSPTree.h
  Color.h
  Cubehole.cpp Cubehole.h
  Cuboid.cpp Cuboid.h
  DisplayClass.cpp DisplayClass.h
  gl.h
  main.cpp
  Matrix.h
  Triangle.h
  Trapezocube.cpp Trapezocube.h
  Vector.h
  Vertex.h
)
target_link_libraries(c3d ${OPENGL_LIBRARIES})