0

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?

Alex
  • 9,891
  • 11
  • 53
  • 87
  • Possible duplicate of [How do I make CMake output into a 'bin' dir?](https://stackoverflow.com/questions/6594796/how-do-i-make-cmake-output-into-a-bin-dir) – Tsyvarev Oct 18 '18 at 15:03
  • The second part of your question - specifying working directory for custom target - is described here: https://stackoverflow.com/questions/16364867/cmake-add-custom-target-preserve-directory. – Tsyvarev Oct 18 '18 at 15:03

0 Answers0