blob: 607aa441cf7bafa69c5191c46ee54880f0bc25ed (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
set(opentrack_variant "default" CACHE STRING "")
set_property(CACHE opentrack_variant PROPERTY STRINGS "default;trackmouse")
# XXX that belongs in each variant's directory!
function(otr_dist_select_variant)
if(opentrack_variant STREQUAL "trackmouse")
set_property(GLOBAL PROPERTY opentrack-variant "trackmouse")
set_property(GLOBAL PROPERTY opentrack-ident "trackmouse-prototype")
set(subprojects
"tracker-pt"
"proto-mouse"
"filter-accela"
"options"
"api"
"compat"
"logic"
"dinput"
"gui"
"pose-widget"
"spline"
"cv"
"migration")
set_property(GLOBAL PROPERTY opentrack-subprojects "${subprojects}")
else()
set_property(GLOBAL PROPERTY opentrack-variant "default")
set_property(GLOBAL PROPERTY opentrack-ident "opentrack-2.3")
set(subprojects
"tracker-*"
"proto-*"
"filter-*"
"ext-*"
"options"
"api"
"compat"
"logic"
"dinput"
"gui"
"main"
"x-plane-plugin"
"csv"
"pose-widget"
"spline"
"qxt-mini"
"macosx"
"cv"
"migration")
set_property(GLOBAL PROPERTY opentrack-subprojects "${subprojects}")
endif()
endfunction()
|