minecraft-pi-reborn/example-mods/expanded-creative/CMakeLists.txt

18 lines
488 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++)
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
project(expanded-creative)
# Include SDK
2024-06-15 12:52:15 +00:00
include("$ENV{HOME}/.minecraft-pi/sdk/lib/minecraft-pi-reborn/sdk/sdk.cmake")
2022-06-25 21:30:08 +00:00
# Build
add_library(expanded-creative SHARED expanded-creative.cpp)
2024-01-24 02:57:57 +00:00
target_link_libraries(expanded-creative mods reborn-patch symbols)