19 lines
307 B
Text
19 lines
307 B
Text
![]() |
cmake_minimum_required(VERSION 2.6)
|
||
|
project(ZOOM)
|
||
|
|
||
|
find_package(OpenGL REQUIRED)
|
||
|
|
||
|
include_directories(${OPENGL_INCLUDE_DIR})
|
||
|
|
||
|
add_executable(zoom
|
||
|
BSPTree.cpp BSPTree.h
|
||
|
Game.cpp Game.h
|
||
|
config.h
|
||
|
gl.h
|
||
|
Renderer.cpp Renderer.h
|
||
|
Triangle.h
|
||
|
zoom.cpp
|
||
|
)
|
||
|
|
||
|
target_link_libraries(zoom ${OPENGL_LIBRARIES})
|