summaryrefslogtreecommitdiffhomepage
path: root/variant/trackmouse/_variant.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-16 04:12:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-16 06:45:50 +0100
commit790e04b5141c31c28b2a9dceace1fdeef00ebed5 (patch)
treebf7c293976dbddca4848c098a1034e3e5cfde99e /variant/trackmouse/_variant.cmake
parent8c21096c50bad5e8d91c717af6a2b909e740291a (diff)
cmake: split variant handling to each variant
Diffstat (limited to 'variant/trackmouse/_variant.cmake')
-rw-r--r--variant/trackmouse/_variant.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/variant/trackmouse/_variant.cmake b/variant/trackmouse/_variant.cmake
new file mode 100644
index 00000000..b54ecf52
--- /dev/null
+++ b/variant/trackmouse/_variant.cmake
@@ -0,0 +1,19 @@
+function(otr_init_variant)
+ 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}")
+endfunction()