This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Execute script before and after build

Hi

I'm new on Zephir and SES.

Is it possible to run a script before and after build in SES?

Thanks for any Idea

Parents Reply Children
  • Hi Simon

    I use SES for code editing and debugging.

    Other editor are avaliable.

    I don't know a other debugger.

    You give me a solution to run a script before and after build in SES.

    But I must setup the script every time I must regenerate the SES project.

    So a simpler soulution is welcome.

  • Have you gotten any progress with SES?
    I got some insight internally how to go about this in cmake.
    It is possible to to run a script before the build by adding a dependency to the cmake target that generates the artifact, and after using a POST_BUILD_COMMAND on that target. But there are restrictions in cmake on when you can do that sort of thing, so you’ll need to do some investigation once you have the details on the exact target of interest.
    Best regards,
    Simon
Related