diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-16 04:12:23 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-16 06:45:50 +0100 |
commit | 790e04b5141c31c28b2a9dceace1fdeef00ebed5 (patch) | |
tree | bf7c293976dbddca4848c098a1034e3e5cfde99e /variant | |
parent | 8c21096c50bad5e8d91c717af6a2b909e740291a (diff) |
cmake: split variant handling to each variant
Diffstat (limited to 'variant')
-rw-r--r-- | variant/default/_variant.cmake | 27 | ||||
-rw-r--r-- | variant/trackmouse/_variant.cmake | 19 |
2 files changed, 46 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() 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() |