How do I get CLion to run an install target

前端 未结 2 603
感动是毒
感动是毒 2020-12-10 11:30

I\'m evaluating CLion 1.2.1 on an existing project which is already using CMake. The project is made up of a few library modules and a single executable.

I have an

2条回答
  •  佛祖请我去吃肉
    2020-12-10 12:11

    @maddouri 's comment already addresses your question. Alternatively, Under Settings -> Build, Execution, Deployment -> CMake, you can also set Build Option for Debug or Release build type to something like -j 2 install. With this setting, whenever CLion builds the code, it will install your targets, too!

提交回复
热议问题