summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-11-20 02:23:26 +0000
committerGitHub <noreply@github.com>2020-11-20 02:23:26 +0000
commit058942f40e17e091b91df5436d771d61203ccc73 (patch)
tree2562bb275b5ee9d5eed1cd383642d587aaf07ad2 /tracker-tobii/CMakeLists.txt
parentf0e7870d66bbaf42ec0f1cd03dcc2da0dee6dd56 (diff)
parentcf89cd0ee392a73c7b92d0220b3963f1901908ae (diff)
Merge pull request #1037 from ballista-milsim/tracker-tobii
WIP Tobii Eye tracker support.
Diffstat (limited to 'tracker-tobii/CMakeLists.txt')
-rw-r--r--tracker-tobii/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/tracker-tobii/CMakeLists.txt b/tracker-tobii/CMakeLists.txt
new file mode 100644
index 00000000..8551c8fa
--- /dev/null
+++ b/tracker-tobii/CMakeLists.txt
@@ -0,0 +1,17 @@
+# https://developer.tobii.com/download-packages/stream-engine-4-1-0-for-windows-x86
+# https://developer.tobii.com/download-packages/stream-engine-4-1-0-for-windows-x64
+set(SDK_TOBII "" CACHE PATH "Tobii SDK path")
+if(SDK_TOBII)
+ otr_module(tracker-tobii)
+ target_include_directories(${self} SYSTEM PRIVATE "${SDK_TOBII}/include")
+
+ set(dll "${SDK_TOBII}/lib/tobii/tobii_stream_engine.dll")
+ set(lib "${SDK_TOBII}/lib/tobii/tobii_stream_engine.lib")
+
+ message(${self})
+ message(${dll})
+ message(${lib})
+
+ install(FILES ${dll} DESTINATION ${opentrack-hier-pfx})
+ target_link_libraries(${self} ${lib})
+endif()