Replies: 5 comments 1 reply
-
It is pretty easy to setup once you know a few tricks with the |
Beta Was this translation helpful? Give feedback.
-
Is this applicable to other IDEs too? For example, I'd be interested to know how to do this with VSCode. |
Beta Was this translation helpful? Give feedback.
-
Actually I tried (really hard) to get it working in VSCode, but I was unable to, and it wasn't trivial in Xcode either but I figured it out after a few tricks that were not at all obvious. |
Beta Was this translation helpful? Give feedback.
-
@ianhbell Did you write the docs? I am interested on doing the same with CLion. |
Beta Was this translation helpful? Give feedback.
-
My example for CMake looks like: if (XCODE_DEBUG_PYTHON)
#See https://stackoverflow.com/a/72078672 and https://cmake.org/cmake/help/latest/manual/cmake-properties.7.html#properties-on-targets
set_target_properties(_${NAME}_impl PROPERTIES
XCODE_GENERATE_SCHEME TRUE
XCODE_SCHEME_WORKING_DIRECTORY "/Users/ihb/Documents/PapersInProgress/Working/(J)phasedet pure/figs"
XCODE_SCHEME_ARGUMENTS teqpflsh_Flasher.py
XCODE_SCHEME_EXECUTABLE /Users/ihb/mambaforge/envs/py310/bin/python)
endif() I have no idea whether something similar is possible with CLion. |
Beta Was this translation helpful? Give feedback.
-
I just figured out how to debug my nanobind extension in Xcode, it was incredibly helpful to be able to. I think others would benefit from my experience, where could I write up some docs on this?
Beta Was this translation helpful? Give feedback.
All reactions