2013-04-14 19:32:40 +00:00
|
|
|
# Minimum cmake version required
|
|
|
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
|
|
|
|
|
2013-09-16 18:35:23 +00:00
|
|
|
# Set a variable for the directory of the opengl-framework
|
|
|
|
SET(OPENGLFRAMEWORK_DIR "${CMAKE_CURRENT_SOURCE_DIR}/common/opengl-framework")
|
|
|
|
|
2013-09-27 16:43:45 +00:00
|
|
|
# If we will use FREEGLUT
|
|
|
|
IF(NOT APPLE)
|
|
|
|
ADD_DEFINITIONS(-DUSE_FREEGLUT)
|
|
|
|
ENDIF()
|
|
|
|
|
2013-09-16 18:35:23 +00:00
|
|
|
ADD_SUBDIRECTORY(common/)
|
|
|
|
ADD_SUBDIRECTORY(cubes/)
|
|
|
|
ADD_SUBDIRECTORY(joints/)
|
|
|
|
ADD_SUBDIRECTORY(collisionshapes/)
|