Specify OpenOCD Download & Run executable based on CMake profile

已回答

I use the OpenOCD Download & Run configuration to flash software onto a development board. Based on my CMake build profile, the executable is build in another folder. Is there a way I can specify the executable path based on the CMake profile. Otherwise I will have to create a Download & Run configuration for each profile (one for release, debug etc.) which seems a bit unnecessary since you already select what CMake profile you want to use.

0

Hello!

Unfortunately, macros and path variables can currently be used in the following configuration types:

  • CMake Application
  • Custom Build Application
  • Gradle Native Application

Feel free to comment or upvote https://youtrack.jetbrains.com/issue/CPP-19627. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.

0

请先登录再写评论。