[libc-commits] [libc] [libc] implement ioctl (PR #85890)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Fri Mar 22 16:11:37 PDT 2024
================
@@ -0,0 +1,12 @@
+if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
+ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
+endif()
+
+add_entrypoint_object(
+ ioctl
+ ALIAS
+ DEPENDS
+ .${LIBC_TARGET_OS}.ioctl
+)
----------------
nickdesaulniers wrote:
You need to an `add_subdirector` for this newly created dir in libc/src/sys/CMakeLists.txt.
https://github.com/llvm/llvm-project/pull/85890
More information about the libc-commits
mailing list