mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 13:50:42 +01:00
b4a6eb2f78
Can now optionally link newlib, stdc++, devoptab.
11 lines
260 B
CMake
11 lines
260 B
CMake
cmake_minimum_required(VERSION 3.2)
|
|
project(wutnewlib C)
|
|
|
|
add_library(wutnewlib
|
|
sleep.c
|
|
syscalls.c)
|
|
target_include_directories(wutnewlib PRIVATE "${WUT_ROOT}/include")
|
|
|
|
install(TARGETS wutnewlib
|
|
ARCHIVE DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
|