0

I have some libraries that I install using make install in a specific folder. However, when I run ( Alt Shift F10 ), it only does the make and not the make install.

Is there any way I can force CLion to do a make install before it runs the binary.

infoclogged
  • 3,641
  • 5
  • 32
  • 53
  • Cmake should add the necessary rpath information to be able to run the binary. Do you load the library with dlopen() or how do you link? – arved Jun 28 '17 at 13:52
  • @arved : u misunderstood. I meant, that when you run a project, then it first does a build ( make ) and then runs the binary.. All is good here. However, I want clion to do a make install ( copy all libraries to a folder ) after the make too, before running the binary. – infoclogged Jun 28 '17 at 22:01
  • @oLen : Thank you.. thats what I was indeed looking for. – infoclogged Jun 29 '17 at 08:12
  • Unfrotunately, the answer mentioned in the other thread, shows a method to create a new target and does not solve the problem mentioned. – infoclogged Jun 29 '17 at 10:55

0 Answers0