forked from MrKatzenGaming/BTT-Studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
33 lines (25 loc) · 1.02 KB
/
CMakeLists.txt
File metadata and controls
33 lines (25 loc) · 1.02 KB
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
cmake_minimum_required(VERSION 3.16)
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_SOURCE_DIR}/sys/cmake/toolchain.cmake")
project(BTT-Studio VERSION 1.0 LANGUAGES ASM C CXX)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
include(config/config.cmake)
file(GLOB_RECURSE SOURCES_ASM ${PROJECT_SOURCE_DIR}/src/*.S)
file(GLOB_RECURSE SOURCES_C ${PROJECT_SOURCE_DIR}/src/*.c)
file(GLOB_RECURSE SOURCES_CXX ${PROJECT_SOURCE_DIR}/src/*.cpp)
file(GLOB SOURCES_IMGUI ${PROJECT_SOURCE_DIR}/lib/imgui/*.cpp)
set(SOURCES ${SOURCES_ASM} ${SOURCES_C} ${SOURCES_CXX} ${SOURCES_IMGUI})
add_executable(${PROJECT_NAME} ${SOURCES})
include_directories(lib/custom)
include_directories(lib/custom/sead)
include_directories(lib/custom/nn)
include_directories(lib/imgui)
include_directories(include/sead)
include_directories(include/al)
include_directories(include/game)
include_directories(src)
include_directories(src/helpers)
include_directories(src/menu)
include(sys/cmake/module.cmake)
include(sys/cmake/deploy.cmake)
include(sys/cmake/sail.cmake)
usesail(${PROJECT_NAME})