mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 17:41:49 +01:00
14 lines
319 B
CMake
14 lines
319 B
CMake
cmake_minimum_required(VERSION 3.2)
|
|
project(wutnewlib C)
|
|
|
|
set_property(SOURCE crt0.s PROPERTY LANGUAGE C)
|
|
|
|
add_library(wutnewlib
|
|
crt0.s
|
|
sleep.c
|
|
syscalls.c)
|
|
target_include_directories(wutnewlib PRIVATE "${WUT_ROOT}/include")
|
|
|
|
install(TARGETS wutnewlib
|
|
ARCHIVE DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
|