summaryrefslogtreecommitdiffhomepage
path: root/variant/default/_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/default/_variant.cmake
parent8c21096c50bad5e8d91c717af6a2b909e740291a (diff)
cmake: split variant handling to each variant
Diffstat (limited to 'variant/default/_variant.cmake')
-rw-r--r--variant/default/_variant.cmake27
1 files changed, 27 insertions, 0 deletions
diff --git a/variant/default/_variant.cmake b/variant/default/_variant.cmake
new file mode 100644
index 00000000..cdf9da56
--- /dev/null
+++ b/variant/default/_variant.cmake
@@ -0,0 +1,27 @@
+function(otr_init_variant)
+ 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}")
+endfunction()