blob: 0b43189ccf6c34a61664bd66d75a367df67082be (
plain)
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
|
project(opentrack)
cmake_minimum_required(VERSION 2.8.11)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/)
include(CMakeParseArguments)
include(opentrack-policy)
include(opentrack-platform)
include(opentrack-macros)
include(opentrack-qt)
include(opentrack-version)
include(opentrack-tarball)
include(opentrack-install)
set(C CMakeLists.txt)
file(GLOB opentrack-subprojects
"tracker-*/${C}"
"protocol-*/${C}"
"filter-*/${C}"
"opentrack*/${C}"
"facetracknoir/${C}"
"x-plane-plugin/${C}"
"csv/${C}"
"pose-widget/${C}"
"spline-widget/${C}"
)
foreach(i ${opentrack-subprojects})
get_filename_component(i ${i} DIRECTORY)
get_filename_component(j ${i} NAME)
message(STATUS "project ${j}")
add_subdirectory(${i})
endforeach()
|