invoke "make install"
Hi
I need to run make install with every build in order to be able to run/debug the application.
How do I invoke this automatically?
I was trying to set up this using the "External Tools" feature but how do I instruct CLion to invoke it in CMAKE_BINARY_DIR ?
And in general, is there a macro we can use to refer to CMAKE variables?
In the debug configuration I need to set the "working directory" to CMAKE_BINARY_DIR/install. Is there a way?
Thank you
Martin
请先登录再写评论。
Hi
I have a similar problem: apparently Clion does not support "make install" (i.e "install(...)" macro from CMAKE) nor "make test". Is this correct? Is this being developed?
Cheers
You are right, install is not supported currently by CLion (https://youtrack.jetbrains.com/issue/CPP-838). Some workaround can be found in https://youtrack.jetbrains.com/issue/CPP-838#comment=27-1027372