-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
43 lines (36 loc) · 1.32 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
cmake_minimum_required(VERSION 3.19)
project(TobiiMouse)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
find_package(Qt6 COMPONENTS Core Gui Widgets REQUIRED)
qt_add_executable(TobiiMouse
${CMAKE_CURRENT_LIST_DIR}/src/main.cpp
${CMAKE_CURRENT_LIST_DIR}/src/MainWindow.cpp
${CMAKE_CURRENT_LIST_DIR}/src/MainWindow.hpp
${CMAKE_CURRENT_LIST_DIR}/src/MainWindow.ui
${CMAKE_CURRENT_LIST_DIR}/src/GazeWorkerThread.hpp
${CMAKE_CURRENT_LIST_DIR}/src/GazeWorkerThread.cpp
${CMAKE_CURRENT_LIST_DIR}/src/TobiiDevice.hpp
${CMAKE_CURRENT_LIST_DIR}/src/TobiiDevice.cpp
${CMAKE_CURRENT_LIST_DIR}/src/MouseIntegration.cpp
${CMAKE_CURRENT_LIST_DIR}/src/MouseIntegration.hpp
${CMAKE_CURRENT_LIST_DIR}/src/NoiseCancellation.cpp
${CMAKE_CURRENT_LIST_DIR}/src/NoiseCancellation.hpp
${CMAKE_CURRENT_LIST_DIR}/src/TobiiAPI.cpp
${CMAKE_CURRENT_LIST_DIR}/src/TobiiAPI.hpp
${CMAKE_CURRENT_LIST_DIR}/src/GazeTracker.hpp
${CMAKE_CURRENT_LIST_DIR}/src/GazeTracker.cpp
)
target_link_libraries(TobiiMouse
PRIVATE
Qt::Gui
Qt::Widgets
X11
Xrandr
Xtst
${CMAKE_CURRENT_LIST_DIR}/src/lib/x64/libtobii_stream_engine.so)