-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathCMakeLists.txt
49 lines (41 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
43
44
45
46
47
48
49
cmake_minimum_required(VERSION 3.21)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
project(xdBot2 VERSION 1.0.0)
add_library(${PROJECT_NAME} SHARED
src/main.cpp
src/global.cpp
src/macro.cpp
src/keybinds.cpp
src/utils/utils.cpp
src/gdr/gdr.cpp
src/renderer/renderer.cpp
src/hacks/other.cpp
src/hacks/tps_bypass.cpp
src/hacks/frame_stepper.cpp
src/hacks/layout_mode.cpp
src/hacks/show_trajectory.cpp
src/hacks/coin_finder.cpp
src/hacks/clickbot.cpp
src/hacks/autoclicker.cpp
src/ui/macro_editor.cpp
src/ui/button_edit_layer.cpp
src/ui/game_ui.cpp
src/ui/record_layer.cpp
src/ui/render_settings_layer.cpp
src/ui/load_macro_layer.cpp
src/ui/clickbot_layer.cpp
src/ui/button_setting.cpp
src/practice_fixes/input.cpp
src/practice_fixes/player.cpp
src/practice_fixes/play_layer.cpp
)
if (NOT DEFINED ENV{GEODE_SDK})
message(FATAL_ERROR "Unable to find Geode SDK! Please define GEODE_SDK environment variable to point to Geode")
else()
message(STATUS "Found Geode: $ENV{GEODE_SDK}")
endif()
add_subdirectory($ENV{GEODE_SDK} ${CMAKE_CURRENT_BINARY_DIR}/geode)
setup_geode_mod(${PROJECT_NAME})