[libcxx] r290856 - build: remove now unused UNIX_CAT

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 2 20:23:51 PST 2017


Author: compnerd
Date: Mon Jan  2 22:23:50 2017
New Revision: 290856

URL: http://llvm.org/viewvc/llvm-project?rev=290856&view=rev
Log:
build: remove now unused UNIX_CAT

THe previous change replaced the use of `cat` or `type` with a custom
python script.  Remove the now unused command determining.

Modified:
    libcxx/trunk/include/CMakeLists.txt

Modified: libcxx/trunk/include/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/CMakeLists.txt?rev=290856&r1=290855&r2=290856&view=diff
==============================================================================
--- libcxx/trunk/include/CMakeLists.txt (original)
+++ libcxx/trunk/include/CMakeLists.txt Mon Jan  2 22:23:50 2017
@@ -28,10 +28,6 @@ if (LIBCXX_INSTALL_HEADERS)
   )
 
   if (LIBCXX_NEEDS_SITE_CONFIG)
-    set(UNIX_CAT cat)
-    if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
-      set(UNIX_CAT type)
-    endif()
     # Generate and install a custom __config header. The new header is created
     # by  prepending __config_site to the current __config header.
     add_custom_command(OUTPUT ${LIBCXX_BINARY_DIR}/__generated_config




More information about the cfe-commits mailing list