TheBrokenRail
38d7dda1a7
Some checks failed
CI / Build (AMD64) (push) Successful in 17m8s
CI / Build (ARM64) (push) Successful in 17m45s
CI / Build (ARMHF) (push) Successful in 11m24s
CI / Test (ARM64, Client) (push) Failing after 2m9s
CI / Test (AMD64, Client) (push) Failing after 2m44s
CI / Test (AMD64, Server) (push) Successful in 3m53s
CI / Test (ARM64, Server) (push) Successful in 2m17s
CI / Build Example Mods (push) Failing after 2m31s
CI / Test (ARMHF, Client) (push) Failing after 1m58s
CI / Test (ARMHF, Server) (push) Failing after 1m55s
CI / Release (push) Has been skipped
18 lines
488 B
CMake
18 lines
488 B
CMake
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++)
|
|
set(CMAKE_SYSTEM_NAME "Linux")
|
|
set(CMAKE_SYSTEM_PROCESSOR "arm")
|
|
|
|
# Start Project
|
|
project(expanded-creative)
|
|
|
|
# Include SDK
|
|
include("$ENV{HOME}/.minecraft-pi/sdk/lib/minecraft-pi-reborn/sdk/sdk.cmake")
|
|
|
|
# Build
|
|
add_library(expanded-creative SHARED expanded-creative.cpp)
|
|
target_link_libraries(expanded-creative mods reborn-patch symbols)
|