forked from BullyWiiPlaza/tcpgecko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
132 lines (118 loc) · 4.08 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
cmake_minimum_required(VERSION 3.18)
# Set the project name
set(PROJECT_NAME "tcpgecko")
project(${PROJECT_NAME})
# Set the C++ standard
set(CMAKE_CXX_STANDARD 20)
# Add definitions for smarter code analysis
# add_definitions(-D__WIIU__)
# Add extra include directories (for use with a Linux distribution or WSL in CLion)
set(DEVKITPPC /mnt/c/devkitPro)
set(WUT ${DEVKITPPC}/mnt/c/devkitPro/wut/include)
set(POWERPCEABI ${DEVKITPPC}/devkitPPC/powerpc-eabi/include)
set(LIBOGC ${DEVKITPPC}/libogc/include)
set(PORTLIBS ${DEVKITPPC}/portlibs/ppc/include)
set(WUPS ${DEVKITPPC}/wups/include)
set(WUMS ${DEVKITPPC}/wums/include)
include_directories(${PORTLIBS})
include_directories(${POWERPCEABI})
include_directories(${LIBOGC})
include_directories(${WUT})
include_directories(${WUPS})
include_directories(${WUMS})
add_executable(${PROJECT_NAME} src/entry.c
src/common/common.h
src/common/fs_defs.h
src/common/kernel_defs.h
src/common/loader_defs.h
src/common/os_defs.h
src/common/retain_vars.c
src/common/retain_vars.h
src/common/types.h
src/dynamic_libs/aoc_functions.c
src/dynamic_libs/aoc_functions.h
src/dynamic_libs/ax_functions.c
src/dynamic_libs/ax_functions.h
src/dynamic_libs/fs_functions.c
src/dynamic_libs/fs_functions.h
src/dynamic_libs/gx2_functions.c
src/dynamic_libs/gx2_functions.h
src/dynamic_libs/os_functions.c
src/dynamic_libs/os_functions.h
src/dynamic_libs/padscore_functions.c
src/dynamic_libs/padscore_functions.h
src/dynamic_libs/socket_functions.c
src/dynamic_libs/socket_functions.h
src/dynamic_libs/sys_functions.c
src/dynamic_libs/sys_functions.h
src/dynamic_libs/vpad_functions.c
src/dynamic_libs/vpad_functions.h
src/fs/CFile.cpp
src/fs/CFile.hpp
src/fs/DirList.h
src/fs/DirList.cpp
src/fs/fs_utils.h
src/fs/fs_utils.c
src/fs/sd_fat_devoptab.c
src/fs/sd_fat_devoptab.h
src/game/memory_area_table.h
src/game/memory_area_table.c
src/game/rpx_rpl_table.h
src/game/rpx_rpl_table.c
src/kernel/kernel_functions.h
src/kernel/kernel_functions.c
src/kernel/kernel_hooks.S
src/kernel/syscalls.c
src/kernel/syscalls.h
src/kernel/syscalls_asm.S
src/patcher/fs_logger.h
src/patcher/fs_logger.c
src/patcher/function_patcher_coreinit.h
src/patcher/function_patcher_coreinit.c
src/patcher/function_patcher_gx2.h
src/patcher/function_patcher_gx2.c
src/system/exception_handler.h
src/system/exception_handler.cpp
src/system/memory.c
src/system/memory.h
src/tcpgecko/main.h
src/tcpgecko/main.cpp
src/tcpgecko/address.h
src/tcpgecko/address.cpp
src/tcpgecko/assertions.h
src/tcpgecko/cafe.h
src/tcpgecko/code_handler.h
src/tcpgecko/disassembler.h
src/tcpgecko/disassembler.cpp
src/tcpgecko/hardware_breakpoints.h
src/tcpgecko/hardware_breakpoints.s
src/tcpgecko/kernel.h
src/tcpgecko/linked_list.h
src/tcpgecko/linked_list.cpp
src/tcpgecko/net.h
src/tcpgecko/net.cpp
src/tcpgecko/pause.h
src/tcpgecko/raw_assembly_cheats.h
src/tcpgecko/sd_cheats.h
src/tcpgecko/sd_cheats.cpp
src/tcpgecko/sd_ip_reader.h
src/tcpgecko/sd_ip_reader.cpp
src/tcpgecko/software_breakpoints.h
src/tcpgecko/stack.h
src/tcpgecko/stringify.h
src/tcpgecko/tcp_gecko.h
src/tcpgecko/tcp_gecko.cpp
src/tcpgecko/texture.h
src/tcpgecko/threads.h
src/tcpgecko/threads.cpp
src/tcpgecko/title.h
src/tcpgecko/title.cpp
src/tcpgecko/utilities.h
src/utils/function_patcher.h
src/utils/function_patcher.cpp
src/utils/logger.h
src/utils/logger.c
src/utils/ppc_asm.h
src/utils/StringTools.h
src/utils/StringTools.cpp
src/utils/utils.h)