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
|
|
|
|
project(expanded-creative)
|
|
|
|
|
|
|
|
# Include SDK
|
|
|
|
include("$ENV{HOME}/.minecraft-pi/sdk/lib/minecraft-pi-reborn-client/sdk/sdk.cmake")
|
|
|
|
|
|
|
|
# Build
|
|
|
|
add_library(expanded-creative SHARED expanded-creative.cpp)
|
2022-07-10 14:37:19 +00:00
|
|
|
target_link_libraries(expanded-creative mods-headers reborn-patch symbols misc)
|