blob: 6d9a11147c5328e670fda8ea7e9087ce763b7f7d (
plain) (
blame)
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
|
cmake_minimum_required (VERSION 3.1)
project (lingo_ap_tracker)
set(CMAKE_BUILD_TYPE Debug)
find_package(wxWidgets CONFIG REQUIRED)
find_package(OpenSSL REQUIRED)
find_package(yaml-cpp REQUIRED)
include_directories(
vendor/hkutil
vendor/apclientpp
vendor/asio/asio/include
vendor/nlohmann
vendor/valijson/include
vendor/websocketpp
vendor/wswrap/include
${yaml-cpp_INCLUDE_DIRS}
${OpenSSL_INCLUDE_DIRS}
)
find_path(SYSTEM_INCLUDE_DIR zlib.h)
include_directories(${SYSTEM_INCLUDE_DIR})
link_directories(${openssl_LIBRARY_DIRS})
add_executable(lingo_ap_tracker
main.cpp
tracker_frame.cpp
tracker_panel.cpp
game_data.cpp
area_window.cpp
area_popup.cpp
ap_state.cpp
connection_dialog.cpp
eye_indicator.cpp
tracker_state.cpp
)
set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17)
set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON)
target_link_libraries(lingo_ap_tracker PRIVATE OpenSSL::SSL OpenSSL::Crypto wx::core wx::base yaml-cpp)
|