[Lldb-commits] [lldb] r253501 - Fix CMake dependency on lldb.py

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 18 13:20:25 PST 2015


(good catch :-) )

On Wed, Nov 18, 2015 at 1:20 PM, Todd Fiala <todd.fiala at gmail.com> wrote:

> Nope, I'm wrong.  Sorry!
>
> On Wed, Nov 18, 2015 at 1:15 PM, Todd Fiala <todd.fiala at gmail.com> wrote:
>
>> I don't *think* that's right?  (At least, not for Linux).
>>
>> It's not coming from the source dir.  It gets generated into the binary
>> directory.  Or - maybe the Windows ones write the output into the source
>> tree?  Do we need to conditionalize the location of lldb.py based on the
>> build?
>>
>> -Todd
>>
>> On Wed, Nov 18, 2015 at 1:09 PM, Zachary Turner via lldb-commits <
>> lldb-commits at lists.llvm.org> wrote:
>>
>>> Author: zturner
>>> Date: Wed Nov 18 15:09:55 2015
>>> New Revision: 253501
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=253501&view=rev
>>> Log:
>>> Fix CMake dependency on lldb.py
>>>
>>> Modified:
>>>     lldb/trunk/CMakeLists.txt
>>>
>>> Modified: lldb/trunk/CMakeLists.txt
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=253501&r1=253500&r2=253501&view=diff
>>>
>>> ==============================================================================
>>> --- lldb/trunk/CMakeLists.txt (original)
>>> +++ lldb/trunk/CMakeLists.txt Wed Nov 18 15:09:55 2015
>>> @@ -33,7 +33,7 @@ if (NOT LLDB_DISABLE_PYTHON)
>>>      add_custom_target( finish_swig ALL
>>>          COMMAND ${PYTHON_EXECUTABLE}
>>> ${CMAKE_CURRENT_SOURCE_DIR}/scripts/finishSwigWrapperClasses.py
>>> "--srcRoot=${LLDB_SOURCE_DIR}"
>>> "--targetDir=${CMAKE_CURRENT_BINARY_DIR}/scripts"
>>> "--cfgBldDir=${CMAKE_CURRENT_BINARY_DIR}/scripts"
>>> "--prefix=${CMAKE_BINARY_DIR}"
>>> "--cmakeBuildConfiguration=${CMAKE_CFG_INTDIR}" -m
>>>          DEPENDS
>>> ${CMAKE_CURRENT_SOURCE_DIR}/scripts/finishSwigWrapperClasses.py
>>> -        DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/lldb.py
>>> +        DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/scripts/lldb.py
>>>          COMMENT "Python script sym-linking LLDB Python API")
>>>      # We depend on liblldb being built before we can do this step.
>>>      add_dependencies(finish_swig liblldb lldb-argdumper)
>>>
>>>
>>> _______________________________________________
>>> lldb-commits mailing list
>>> lldb-commits at lists.llvm.org
>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
>>>
>>
>>
>>
>> --
>> -Todd
>>
>
>
>
> --
> -Todd
>



-- 
-Todd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151118/ad3705bb/attachment.html>


More information about the lldb-commits mailing list