-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
71 lines (63 loc) · 1.37 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
cmake_minimum_required(VERSION 3.25)
project(ihm_robot)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
find_package(Modelec COMPONENTS
TCPClient
Utils
CLParser
REQUIRED
)
find_package(Qt6 COMPONENTS
Core
Gui
Widgets
Network
REQUIRED)
set(HEADERS
MainWindow.h
HomePage.h
Homologation.h
InGame.h
TeamChooser.h
TestMode.h
TestModeBtn.h
preparation/TiretteState.h
preparation/Lidar.h
PreparationMatch.h
preparation/OneItemPreparation.h
WaintingForTirette.h
tcp/MyTCPClient.h
GCMode.h
)
set(SOURCES
main.cpp
MainWindow.cpp
HomePage.cpp
Homologation.cpp
InGame.cpp
TeamChooser.cpp
TestMode.cpp
TestModeBtn.cpp
PreparationMatch.cpp
preparation/Lidar.cpp
preparation/OneItemPreparation.cpp
preparation/TiretteState.cpp
WaintingForTirette.cpp
tcp/MyTCPClient.cpp
GCMode.cpp
)
add_executable(ihm_robot resource.qrc ${HEADERS} ${SOURCES})
target_link_libraries(ihm_robot
Modelec::TCPClient
Modelec::Utils
Modelec::CLParser
)
target_link_libraries(ihm_robot
Qt::Core
Qt::Gui
Qt::Widgets
Qt::Network
)