Siva Chandra Reddy 3beb054170 [libc] Add a baremetal config.
The config currently includes ctype, math, stdlib, inttypes and string
functions.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D140378
2022-12-20 19:43:45 +00:00

16 lines
337 B
CMake

if(LIBC_TARGET_OS_IS_BAREMETAL)
return()
endif()
add_libc_tool_unittest(
wrappergen_test
SRCS
wrappergen_test.cpp
ARGS
--path=${LIBC_SOURCE_DIR}
--tool=${LLVM_BINARY_DIR}/bin/libc-wrappergen
--api=${LIBC_SOURCE_DIR}/test/utils/tools/WrapperGen/testapi.td
)
add_dependencies(wrappergen_test libc-wrappergen)