add_custom_command POST_BUILD & GENERATE_HEX

Sysprogs forums Forums VisualGDB add_custom_command POST_BUILD & GENERATE_HEX

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33980
    vedecoid
    Participant

    When trying to define post build actions in a CMake build project(using add_custom_command(…) ) we noticed that the commands get executed before the execution of the HEX & BIN file generation as part of the add_bsp_executable(…)

    As part of the POST_BUILD script was meant to copy those files to a holding folder, this doesn’t work as the files don’t exist yet (and if they exist, it’s a previous build version…)

    Is there any way to execute custom commands after <span style=”text-decoration: underline;”>everything</span> VisualGDB does in the build sequence is finished ?

    #33982
    support
    Keymaster

    Hi,

    Sure, you can use VisualGDB Project Properties -> Custom Build Steps to run an arbitrary command after the entire build finishes.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.