Use external shell script for build

Hi all,

I have written a shell script 'build.sh' which runs make and starts my program.

How can I configure CLion so that it will use this script when I press the button 'build'? Is this even possible?

Thanks!

1 comment

Hi!

Are you sure you need to run your application during the build? For now you can use CMake's add_custom_command to run your script and then use the external tool for run configuration to run the application.

0

Please sign in to leave a comment.