about summary refs log tree commit diff stats
path: root/LICENSE
blob: d9a10e5e9a5c377b80d97cea9b6030ca7cd0aa94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
MIT License

Copyright (c) 2023 Star Rauchenberger

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
8d29788e1952db0f89263a111fa15394a'>^
116ba41 ^

d7eb71d
149e7c0 ^






149e7c0 ^

bb12ecd ^
a9bc708 ^
2adce17 ^
ea16cff ^
7f4b6b4 ^
2adce17 ^
d7eb71d
47e59ea ^
d7eb71d
10d6eff ^
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


                                    




                                                 


                                       
                                  


                    



                          
                             
                       
                          
                         
                 
        

 


                                          

                                         
                               






                             

                          
                             
                           
                  
                      
                       
                              
 
                                                              
                                                                       
                                                                                                                                                  
cmake_minimum_required (VERSION 3.1)
project (lingo_ap_tracker)

if (MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
set(CMAKE_WIN32_EXECUTABLE true)
endif(MSVC)

find_package(wxWidgets CONFIG REQUIRED)
find_package(OpenSSL REQUIRED)
find_package(yaml-cpp REQUIRED)
find_package(websocketpp REQUIRED)

include_directories(
  vendor/hkutil
  vendor/apclientpp
  vendor/asio/asio/include
  vendor/nlohmann
  vendor/valijson/include
  ${websocketpp_INCLUDE_DIRS}
  vendor/wswrap/include
  ${yaml-cpp_INCLUDE_DIRS}
  ${OpenSSL_INCLUDE_DIRS}
  vendor/whereami
  vendor
)

find_path(SYSTEM_INCLUDE_DIR zlib.h)
include_directories(${SYSTEM_INCLUDE_DIR})

link_directories(${openssl_LIBRARY_DIRS})

add_executable(lingo_ap_tracker
  "src/main.cpp"
  "src/tracker_frame.cpp"
  "src/tracker_panel.cpp"
  "src/game_data.cpp"
  "src/area_popup.cpp"
  "src/ap_state.cpp"
  "src/connection_dialog.cpp"
  "src/tracker_state.cpp"
  "src/tracker_config.cpp"
  "src/achievements_pane.cpp"
  "src/settings_dialog.cpp"
  "src/global.cpp"
  "src/subway_map.cpp"
  "src/network_set.cpp"
  "vendor/whereami/whereami.c"
)
set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 20)
set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON)
target_link_libraries(lingo_ap_tracker PRIVATE OpenSSL::SSL OpenSSL::Crypto websocketpp::websocketpp wx::core wx::base wx::net yaml-cpp::yaml-cpp)