[Lldb-commits] [lldb] r374250 - [lldb] Put site-packages into a sub dir of CMAKE_CFG_INTDIR
Haibo Huang via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 9 15:34:55 PDT 2019
Author: hhb
Date: Wed Oct 9 15:34:55 2019
New Revision: 374250
URL: http://llvm.org/viewvc/llvm-project?rev=374250&view=rev
Log:
[lldb] Put site-packages into a sub dir of CMAKE_CFG_INTDIR
Summary: Fixes issue like D68719
Reviewers: tatyana-krasnukha
Subscribers: mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68728
Modified:
lldb/trunk/CMakeLists.txt
Modified: lldb/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=374250&r1=374249&r2=374250&view=diff
==============================================================================
--- lldb/trunk/CMakeLists.txt (original)
+++ lldb/trunk/CMakeLists.txt Wed Oct 9 15:34:55 2019
@@ -202,8 +202,9 @@ if (NOT LLDB_DISABLE_PYTHON)
if(LLDB_BUILD_FRAMEWORK)
set(lldb_python_build_path "${liblldb_build_dir}/LLDB.framework/Resources/Python/lldb")
else()
- set(lldb_python_build_path "${CMAKE_BINARY_DIR}/${LLDB_PYTHON_RELATIVE_PATH}/lldb")
+ set(lldb_python_build_path "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${LLDB_PYTHON_RELATIVE_PATH}/lldb")
endif()
+ get_filename_component(lldb_python_build_path ${lldb_python_build_path} ABSOLUTE)
# Add a Post-Build Event to copy over Python files and create the symlink
# to liblldb.so for the Python API(hardlink on Windows).
More information about the lldb-commits
mailing list