wut/libraries/wutnewlib/CMakeLists.txt
James Benton b4a6eb2f78 Split out crt from wutnewlib to wutcrt.
Can now optionally link newlib, stdc++, devoptab.
2018-05-27 12:12:49 +01:00

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")