I have a make file that builds a binary, but the binary should be created in specific place and should be run from specific working directory.
I am working on integration of this make command into CLion project.
When I add custom target (see this SO question) the configuration from the CLion point of view is incorrect because it doesn't have binary path and working directory path.
How can I make it see the proper executable and working directory?