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

16 lines
432 B
CMake
Raw 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++)
# 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)
target_link_libraries(chat-commands mods-headers reborn-patch symbols chat misc)