[libcxx] r290875 - Simplify CMake target for the __generated_config header
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 3 03:18:18 PST 2017
Author: ericwf
Date: Tue Jan 3 05:18:17 2017
New Revision: 290875
URL: http://llvm.org/viewvc/llvm-project?rev=290875&view=rev
Log:
Simplify CMake target for the __generated_config header
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=290875&r1=290874&r2=290875&view=diff
==============================================================================
--- libcxx/trunk/include/CMakeLists.txt (original)
+++ libcxx/trunk/include/CMakeLists.txt Tue Jan 3 05:18:17 2017
@@ -31,11 +31,8 @@ if (LIBCXX_INSTALL_HEADERS)
# 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
- COMMAND ${CMAKE_COMMAND} -E copy
- ${LIBCXX_BINARY_DIR}/__config_site
- ${LIBCXX_BINARY_DIR}/__generated_config
COMMAND ${PYTHON_EXECUTABLE} ${LIBCXX_SOURCE_DIR}/utils/cat_files.py
- ${LIBCXX_BINARY_DIR}/__generated_config
+ ${LIBCXX_BINARY_DIR}/__config_site
${LIBCXX_SOURCE_DIR}/include/__config
-o ${LIBCXX_BINARY_DIR}/__generated_config
DEPENDS ${LIBCXX_SOURCE_DIR}/include/__config
More information about the cfe-commits
mailing list