runtime/example/guest/CMakeLists.txt
2025-01-04 05:34:24 -05:00

17 lines
384 B
CMake

cmake_minimum_required(VERSION 3.17.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(guest)
# Build Library
add_subdirectory(../../lib lib)
# Build
add_executable(example src/example.c)
target_link_libraries(example trampoline)