diff options
Diffstat (limited to 'libc/src')
-rw-r--r-- | libc/src/string/CMakeLists.txt | 22 | ||||
-rw-r--r-- | libc/src/string/strcat.cpp (renamed from libc/src/string/strcat/strcat.cpp) | 4 | ||||
-rw-r--r-- | libc/src/string/strcat.h (renamed from libc/src/string/strcat/strcat.h) | 0 | ||||
-rw-r--r-- | libc/src/string/strcat/CMakeLists.txt | 10 | ||||
-rw-r--r-- | libc/src/string/strcpy.cpp (renamed from libc/src/string/strcpy/strcpy.cpp) | 2 | ||||
-rw-r--r-- | libc/src/string/strcpy.h (renamed from libc/src/string/strcpy/strcpy.h) | 0 | ||||
-rw-r--r-- | libc/src/string/strcpy/CMakeLists.txt | 9 |
7 files changed, 23 insertions, 24 deletions
diff --git a/libc/src/string/CMakeLists.txt b/libc/src/string/CMakeLists.txt index 459d9489e3a..b53da211825 100644 --- a/libc/src/string/CMakeLists.txt +++ b/libc/src/string/CMakeLists.txt @@ -1,2 +1,20 @@ -add_subdirectory(strcpy) -add_subdirectory(strcat) +add_entrypoint_object( + strcat + SRCS + strcat.cpp + HDRS + strcat.h + DEPENDS + strcpy + string_h +) + +add_entrypoint_object( + strcpy + SRCS + strcpy.cpp + HDRS + strcpy.h + DEPENDS + string_h +) diff --git a/libc/src/string/strcat/strcat.cpp b/libc/src/string/strcat.cpp index 09cc62d25e2..366b1854e60 100644 --- a/libc/src/string/strcat/strcat.cpp +++ b/libc/src/string/strcat.cpp @@ -6,10 +6,10 @@ // //===----------------------------------------------------------------------===// -#include "src/string/strcat/strcat.h" +#include "src/string/strcat.h" #include "src/__support/common.h" -#include "src/string/strcpy/strcpy.h" +#include "src/string/strcpy.h" namespace __llvm_libc { diff --git a/libc/src/string/strcat/strcat.h b/libc/src/string/strcat.h index d3023e9757c..d3023e9757c 100644 --- a/libc/src/string/strcat/strcat.h +++ b/libc/src/string/strcat.h diff --git a/libc/src/string/strcat/CMakeLists.txt b/libc/src/string/strcat/CMakeLists.txt deleted file mode 100644 index e37e4262b3e..00000000000 --- a/libc/src/string/strcat/CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ -add_entrypoint_object( - strcat - SRCS - strcat.cpp - HDRS - strcat.h - DEPENDS - strcpy - string_h -) diff --git a/libc/src/string/strcpy/strcpy.cpp b/libc/src/string/strcpy.cpp index 0dfb1e35e41..22fe4ccffa4 100644 --- a/libc/src/string/strcpy/strcpy.cpp +++ b/libc/src/string/strcpy.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include "src/string/strcpy/strcpy.h" +#include "src/string/strcpy.h" #include "src/__support/common.h" diff --git a/libc/src/string/strcpy/strcpy.h b/libc/src/string/strcpy.h index 67710d8c84b..67710d8c84b 100644 --- a/libc/src/string/strcpy/strcpy.h +++ b/libc/src/string/strcpy.h diff --git a/libc/src/string/strcpy/CMakeLists.txt b/libc/src/string/strcpy/CMakeLists.txt deleted file mode 100644 index 411333a73a8..00000000000 --- a/libc/src/string/strcpy/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -add_entrypoint_object( - strcpy - SRCS - strcpy.cpp - HDRS - strcpy.h - DEPENDS - string_h -) |