minecraft-pi-reborn/example-mods/chat-commands/CMakeLists.txt

18 lines
479 B
CMake
Raw Permalink Normal View History

2022-06-25 21:30:08 +00:00
cmake_minimum_required(VERSION 3.16.0)
# Build For ARM
set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
set(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
2023-12-05 01:08:34 +00:00
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_PROCESSOR "arm")
2022-06-25 21:30:08 +00:00
# Start Project
2022-06-27 01:17:52 +00:00
project(chat-commands)
2022-06-25 21:30:08 +00:00
# Include SDK
include("$ENV{HOME}/.minecraft-pi/sdk/lib/minecraft-pi-reborn-client/sdk/sdk.cmake")
# Build
2022-06-27 01:17:52 +00:00
add_library(chat-commands SHARED chat-commands.cpp)
2024-01-24 02:57:57 +00:00
target_link_libraries(chat-commands mods reborn-patch symbols)