-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
87 lines (65 loc) · 1.64 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
cmake_minimum_required(VERSION 3.5)
project(ExileBot2 VERSION 0.1 LANGUAGES CXX)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
find_package(Qt6 REQUIRED COMPONENTS Widgets)
find_package(Qt6 REQUIRED COMPONENTS Network)
find_package(Qt6 REQUIRED COMPONENTS Qml)
add_executable(ExileBot2
# main
src/main.cpp
src/MainWindow.cpp
src/MainWindow.h
src/MainWindow.ui
# Qt Resource
res/Resource.qrc
# Helper
src/Helper.cpp
src/Helper.h
# Global
src/Global.cpp
src/Global.h
# Account
src/Account.cpp
src/Account.h
# AccountModel
src/AccountModel.cpp
src/AccountModel.h
# ExileSocket
src/ExileSocket.cpp
src/ExileSocket.h
# ExileClient
src/ExileClient.cpp
src/ExileClient.h
# Character
src/Character.h
# ExileGame
src/ExileGame.cpp
src/ExileGame.h
# AbstractObject
src/Object/AbstractObject.cpp
src/Object/AbstractObject.h
# ItemObject
src/Object/ItemObject.cpp
src/Object/ItemObject.h
# GameObject
src/Object/GameObject.cpp
src/Object/GameObject.h
# AStar
src/AStar/astar.cpp
src/AStar/astar.h
src/AStar/blockallocator.cpp
src/AStar/astar.h
)
target_link_libraries(ExileBot2 PRIVATE Qt6::Widgets)
target_link_libraries(ExileBot2 PRIVATE Qt6::Network)
target_link_libraries(ExileBot2 PRIVATE Qt6::Qml)
# vcpkg
include("D:/vcpkg/scripts/buildsystems/vcpkg.cmake")
# CryptoPP
find_package(cryptopp CONFIG REQUIRED)
target_link_libraries(ExileBot2 PRIVATE cryptopp-static)