-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
45 lines (36 loc) · 1.2 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
##################################################
#
# CMakeLists.txt - Root cmake file for DanceTracker
#
# History:
# * Original file - Dan Swain, 7/6/10
# * Simplied significantly - DTS 7/14/10
# * Modified from SimpleBWTracker - DTS 8/26/10
# * Modified from KilliTracker - DTS 6/20/11
#
##################################################
# this is the most recent version of CMake
cmake_minimum_required (VERSION 2.8)
# name of the project - this has to come first
project(DanceTracker)
# MADTRaC information
set(MT_ROOT "../MADTraC/build" CACHE PATH "MADTraC root directory")
# sets variables related to MT
include(${MT_ROOT}/cmake/MT_Config.cmake)
# set the name of the built target
set(APP_NAME DanceTracker)
# set this to a list of source and header files to be compiled
set(APP_SRC
src/DanceTrackerGUI.cpp
src/DanceTrackerGUI.h
src/DanceTracker.cpp
src/DanceTracker.h
)
# adds src to the header search path
include_directories(src)
# sets up the build target
add_executable(${APP_NAME} WIN32 MACOSX_BUNDLE ${APP_SRC})
# sets up the app to build correctly using the right libraries, etc
MT_tracking_app(${APP_NAME})
find_package(GLUT)
target_link_libraries(${APP_NAME} ${GLUT_LIBRARY})