mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-14 05:11:52 +01:00
16 lines
352 B
CMake
16 lines
352 B
CMake
cmake_minimum_required(VERSION 3.2)
|
|
project(wutnewlib C)
|
|
|
|
add_library(wutnewlib
|
|
wut_clock.c
|
|
wut_gettod_r.c
|
|
wut_lock.c
|
|
wut_malloc_lock.c
|
|
wut_nanosleep.c
|
|
wut_newlib.c
|
|
wut_sbrk.c)
|
|
target_include_directories(wutnewlib PRIVATE "${WUT_ROOT}/include")
|
|
|
|
install(TARGETS wutnewlib
|
|
ARCHIVE DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
|