summaryrefslogtreecommitdiffhomepage
path: root/variant/default/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-13 07:42:29 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-13 07:42:29 +0100
commit53e8b2d41988be69deb800e1ef3cbcfc699a3076 (patch)
treedc5a3a9098bf4172a52f0410a04274b997505ff0 /variant/default/CMakeLists.txt
parentb0657c7ca495ac9d1d3938b3fdfddd9a8ed2d5f2 (diff)
cmake, main: work toward introducing alternative UI
We're going to base opentrack derivatives on the same branch. Previously merges were a living hell. Modularizing the UI code and having continuously-built executables will do a lot. First opentrack variant in progress is a TrackHat device for mouse and scrolling control for people with spine and hand/arm disabilities.
Diffstat (limited to 'variant/default/CMakeLists.txt')
-rw-r--r--variant/default/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/variant/default/CMakeLists.txt b/variant/default/CMakeLists.txt
new file mode 100644
index 00000000..a9e3c754
--- /dev/null
+++ b/variant/default/CMakeLists.txt
@@ -0,0 +1,9 @@
+otr_module(executable EXECUTABLE BIN)
+
+set_target_properties(opentrack-executable PROPERTIES
+ SUFFIX "${opentrack-binary-suffix}"
+ OUTPUT_NAME "opentrack"
+ PREFIX ""
+)
+
+target_link_libraries(opentrack-executable opentrack-user-interface)