================
@@ -9,6 +9,26 @@ macro(pythonize_bool var)
 endmacro()
 
 set(LIBUNWIND_TESTING_INSTALL_PREFIX 
"${LIBUNWIND_BINARY_DIR}/test-suite-install")
+add_custom_target(libunwind-install-cxx-for-testing
+                    DEPENDS cxx-headers
+                            cxx
+                            cxx_experimental
+                            cxx-modules
+                    COMMAND ${CMAKE_COMMAND} -E make_directory 
"${LIBUNWIND_TESTING_INSTALL_PREFIX}"
----------------
arichardson wrote:

Looking at the CMake docs it says use of the install script is deprecated and 
we should be using `cmake --install` instead.

According to 
https://cmake.org/cmake/help/latest/manual/cmake.1.html#install-a-project, I 
believe the following should be equivalent: `{CMAKE_COMMAND} --install 
${CMAKE_BINARY_DIR} --prefix ${LIBUNWIND_TESTING_INSTALL_PREFIX} --component 
<comp>`.

https://github.com/llvm/llvm-project/pull/171474
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to